解決windows7您當前無權訪問該資料夾的問題

2021-06-20 22:14:15 字數 1347 閱讀 3931

解決windows7您當前無權訪問該資料夾的問題

今天我使用我的電腦的時候發現我e盤的東西已經無法開啟了出現下圖所示的提示,而資料夾就還可以使用取得永久許可權來開啟.

經過一番摸索,終於發現了解決的方法:

1. 開啟記事本寫入下面的**:

windows registry editor version 5.00

[hkey_classes_root\*\shell\runas]

@="管理員取得所有權"

"noworkingdirectory"=""

[hkey_classes_root\*\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:f"

"isolatedcommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:f"

[hkey_classes_root\exefile\shell\runas2]

@="管理員取得所有權"

"noworkingdirectory"=""

[hkey_classes_root\exefile\shell\runas2\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:f"

"isolatedcommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:f"

[hkey_classes_root\directory\shell\runas]

@="管理員取得所有權"

"noworkingdirectory"=""

[hkey_classes_root\directory\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:f /t"

"isolatedcommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:f /t"

3.   最後你會發現在你右擊檔案或資料夾的時候右擊選單多了一項"管理員取得所有權",好了,你再在你要開啟的資料夾那裡右擊之後選擇"管理員取得所有權"你就會發現以後就很順暢的開啟了,也不會有任何的提示了.

from:

**:

解決Windows 7報錯問題

mcp的乙個朋友電腦常常出現此問題,但又不想重灌系統,硬碰硬想解決。用了多種方式分析,最後用windbg除錯,後來發現了問題原因,並解決。問題簽名 應用程式名 rundll32.exe 應用程式版本 6.1.7600.16385 應用程式時間戳 4a5bc637 故障模組版本 1.0.0.26 故障...

windows 7藍屏解決辦法

1 通過工具開啟出現藍屏原因的dmp檔案,找到原因 unable to load image systemroot system32 ntkrnlpa.exe,win32 error 0n22 找到 systemroot system32 ntkrnlpa.exe 在 c windows syste...

Windows 7跳轉列表方便您辦公和日常使用電腦

jump list 跳轉列表 是windows 7中的新增功能,可幫助您快速訪問常用的文件 歌曲或 在windows 7中,滑鼠指向開始選單中的程式,或在工作列圖示上點選右鍵,會彈出乙個全新的選單,這就是jump list。通過它,我們可以執行某個程式的常用任務,也可以訪問最近使用的檔案或位置。單擊...