小弟要換一顆SSD硬碟給電腦在整理檔案時發現有一個照片文件夾鎖住了, 搞了一整晚才發現"可存取這個檔案的使用者"可能是重新安裝系統之前的使用者(也不知道為啥鎖上,應該是不小心按到還是怎樣), 那現在用新系統的Adminstrator都無法讀取, 一直出現權限不足.請問這問題可以怎麼解決?謝謝各位....只有這個檔案鎖住, 因為我自己寫了不可以刪除, 現在又看不到照片內容, 也不敢貿然刪除.....
編輯一個檔案, 名稱 管理員取得所有權.reg將下列文字複製進去, 存檔然後安裝=================================起點線====================================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"=================================終點線====================================後然對你要取得權限的目錄或檔案按下滑鼠右鍵 選 管理員取得所有權