由买买提看人间百态

topics

全部话题 - 话题: mustboot
(共0页)
b****t
发帖数: 17
1
来自主题: Software版 - Re: 注册表被禁止了,怎么办
save following as regenable.vbs and double click it to enable reg edit.
Option Explicit
'Declare variables
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
p = p & "DisableRegistryTools"
itemtype = "REG_DWORD"
mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes"
enab = "ENABLED"
disab = "DISABLED"
jobfun
(共0页)