我有一个硬盘驱动器,我需要从中恢复特定文件,但 K:\ 驱动器中的所有文件夹都拒绝我访问,即使我拥有完整驱动器 IE 的所有权
C:\Windows\System32>takeown /FK:\ 这允许我访问驱动器并查看文件夹,但之后我无法访问任何文件夹。
有没有一种方法可以使用 Takeown 将所有权应用于驱动器上的每个目录>
Windows 10 将“有趣的提示和事实”推送到其锁定屏幕上。
我想要一个适用于 Windows 10 家庭版和专业版的解决方案,使其更美观:
理想情况下:
除此以外
当前尝试的一些注册表建议是;
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager "ContentDeliveryAllowed" 1.
- "RotatingLockScreenEnabled" 1
- "RotatingLockScreenOverlayEnabled" 0
- "SubscribedContent-338387Enabled" 0
- "SubscribedContent-338388Enabled" 0
- "SubscribedContent-338389Enabled" 0
- "SubscribedContent-314559Enabled" 0
- "SubscribedContent-338393Enabled" 0
Run Code Online (Sandbox Code Playgroud)
到目前为止,主要的解决方案似乎是:
- Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338387Enabled" 0
Run Code Online (Sandbox Code Playgroud)
然而,所有这一切都是将锁定屏幕从“Windows Spotlight”转为离线图片,可通过设置获得(此处为图片)。因此,我们不再获得 Windows 订阅的内容图片。
更改 Windows 目录(explorer.exe、regedit.exe等)中可执行文件的所有权后,我似乎无法将其改回TrustedInstaller使用icacls.exe. 使用 GUI 方法(属性?安全?高级?所有者)可以正常工作。
对 Windows 下的任何其他文件(不是可执行文件)执行相同的操作,效果很好。在安全模式下试过同样的,没有运气。
这些是我正在使用的 2 个基本命令:
takeown /F C:\Windows\explorer.exe /A
icacls C:\Windows\explorer.exe /setowner "NT SERVICE\TrustedInstaller"
Run Code Online (Sandbox Code Playgroud)
编辑:忘记提及我收到的错误是“拒绝访问”。
C:\Windows\System32>takeown /F c:\Windows\explorer.exe /A
SUCCESS: The file (or folder): "c:\Windows\explorer.exe" now owned by the administrators group.
C:\Windows\System32>icacls c:\Windows\explorer.exe /setowner "NT SERVICE\TrustedInstaller"
c:\Windows\explorer.exe: Access is denied.
Successfully processed 0 files; Failed processing 1 files
Run Code Online (Sandbox Code Playgroud)
- 取得 Windows 文件夹及其内容的所有权
- 做出改变
- 归还原所有权
- 了解流程
- 在 Windows 10 环境中使用 Icacls 和删除
Before using takeown and icacls commands because of the sensitive nature of windows folders, I would like to know and understand what changes to permissions will take place, so that they can be reset to their original position. As one article I read said “Be careful, taking the ownership of system folders you may break your operating systems.” Though I don’t think I will in this case, as …
我正在运行一个批处理命令来获取一组用户文件夹的所有权,我发现所有权没有被推送到隐藏文件,例如 ~normal.dot 我正在使用以下命令:
takeown /R /A /D Y /F D:\folderpath\username
我不t 在输出中看到错误,但是当我尝试 robocopy 该目录时,我对此类文件的访问被拒绝。我发现我必须手动转到文件属性 > 安全 > 高级 > 编辑(服务器 2008)> 将所有后代的所有现有可继承权限替换为此对象的可居住权限。有没有办法确保我在取得文件夹所有权后可以移动文件夹?
windows-server-2008 command-line file-permissions batch-file
Windows 10 中使用什么加密算法和什么密钥来加密 WiFi 密码存储。我正在尝试了解这一点。
我查看了 XML 文件,C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{INTERFACE UUID}
其中存储的密码似乎受到某种加密的保护。
它不可能是用户的密码,因为所有用户都可以访问它。我想不出其他什么了。
windows-10 ×3
command-line ×2
permissions ×2
windows-7 ×2
batch-file ×1
cmd.exe ×1
encryption ×1
lock-screen ×1
ownership ×1
passphrase ×1