相关疑难解决方法(0)

我将如何使用 Takeown 获得一个驱动器上所有文件夹的所有权?

我有一个硬盘驱动器,我需要从中恢复特定文件,但 K:\ 驱动器中的所有文件夹都拒绝我访问,即使我拥有完整驱动器 IE 的所有权

C:\Windows\System32>takeown /FK:\ 这允许我访问驱动器并查看文件夹,但之后我无法访问任何文件夹。

有没有一种方法可以使用 Takeown 将所有权应用于驱动器上的每个目录>

windows-7 cmd.exe

19
推荐指数
1
解决办法
12万
查看次数

保持 Windows 10 锁定屏幕聚焦图片但关闭所有文本提示/气球

Windows 10 将“有趣的提示和事实”推送到其锁定屏幕上。

来自 Windows Spotlight 的示例图像

我想要一个适用于 Windows 10 家庭版和专业版的解决方案,使其更美观:

理想情况下:

  • 在锁定屏幕和登录屏幕上保持 Windows 10 Spotlight 图像处于打开状态。
  • 关闭所有这些提示/提示,即所有链接和文本都会消失。

除此以外

  • 模仿和自动化整个过程,使其相似,但不会产生任何提示和事实。

当前尝试的一些注册表建议是;

 -  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 订阅的内容图片。

lock-screen windows-10 windows-spotlight

6
推荐指数
1
解决办法
5501
查看次数

将“TrustedInstaller”恢复为 Windows 文件夹中可执行文件的所有者

更改 Windows 目录(explorer.exeregedit.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-7 command-line permissions

5
推荐指数
2
解决办法
2万
查看次数

了解如何使用 Icals & Takeown 在 Windows 10 中进行更改和重置

  • 取得 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 …

permissions ownership file-permissions windows-10

5
推荐指数
1
解决办法
7960
查看次数

takeown /R 不适用于隐藏文件

我正在运行一个批处理命令来获取一组用户文件夹的所有权,我发现所有权没有被推送到隐藏文件,例如 ~normal.dot 我正在使用以下命令: takeown /R /A /D Y /F D:\folderpath\username 我不t 在输出中看到错误,但是当我尝试 robocopy 该目录时,我对此类文件的访问被拒绝。我发现我必须手动转到文件属性 > 安全 > 高级 > 编辑(服务器 2008)> 将所有后代的所有现有可继承权限替换为此对象的可居住权限。有没有办法确保我在取得文件夹所有权后可以移动文件夹?

windows-server-2008 command-line file-permissions batch-file

3
推荐指数
1
解决办法
4583
查看次数

Windows 7/8/10如何存储和保护WiFi密码?

Windows 10 中使用什么加密算法和什么密钥来加密 WiFi 密码存储。我正在尝试了解这一点。

我查看了 XML 文件,C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{INTERFACE UUID} 其中存储的密码似乎受到某种加密的保护。

它不可能是用户的密码,因为所有用户都可以访问它。我想不出其他什么了。

encryption wireless-networking passphrase windows-10

3
推荐指数
1
解决办法
2213
查看次数