Closed meigea closed 5 years ago
powershell
powershell $PSVersionTable.PSVersion
SubInACL.exe
reset.cmd
@echo off Echo Processing Registry Permission. Please wait... Echo ===========1============== subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f Echo ===========2============== Echo Processing Folder Permission. Please wait... Echo ===========3============== subinacl /subdirectories %SystemDrive% /grant=administrators=f subinacl /subdirectories %SystemDrive% /grant=system=f Echo ===========4============== Echo Finished. Echo ===========5============== pause exit
仍然无法解决
错误代码 80070005
解决方案
创建 metasploittable
powershell
无法升级; 错误80070005powershell $PSVersionTable.PSVersion
SubInACL.exe
这个工具执行这个命令
reset.cmd