Re: VBS script question

Tech-Archive recommends: Fix windows errors by optimizing your registry



See this for a fix...

Registry Editing has been disabled by your administrator
http://windowsxp.mvps.org/tweakuirest.htm

Does the VBS script have more high priority that registry restrictions?

No. But if Registry Editing has been disabled in
HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Policies\System\DisableRegistryTool
you cannot use regedit.exe to change the setting.

If a user tries to start a registry editor while the value of this entry is
1, a message appears explaining that a policy prevents the action.

If XP Pro, Group Policy (gpedit.msc)..
User Configuration\Administrative Templates\System\
Disable registry editing tools

[[Disables the Windows registry editors, Regedit.exe and Regedt32.exe.

If this setting is enabled and the user tries to start a registry editor, a
message appears explaining that a setting prevents the action.

To prevent users from using other administrative tools, use the "Run only
allowed Windows applications" setting. ]]

Regedt32.exe is a small program that just runs Regedit.exe.

You Have to use a script or a reg.exe.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:e5U%23AsKMGHA.2668@xxxxxxxxxxxxxxxxxxxx,
luminore <luminor@xxxxxxxxxxx> hunted and pecked:
When I tried use some reg files to enable few disabled settings in Win
XP(http://www.kellys-korner-xp.com), I find that registry editing was
disabled, so I can no enable Registry Editing via reg file.
Fromr other hand, I tried VBS script which restore all setting to
default, and this VBS sript work.
Does the VBS sript have more high priority that registry restrictions?

Is there a generic VBS script that set all registry settings(that was
changed) to default value(as in original Windows installation)?

Thanks.

.



Relevant Pages

  • Re: Shutdown Button, Run Command Disappeared
    ... How to start Windows in Safe Mode Windows XP ... Task Manager Shut Down disabled ... removes the Shut Down option from the Start menu and disables the Shut Down ... Disable or Enable Registry Editing Tools ...
    (microsoft.public.windowsxp.general)
  • Re: Regedit has been disabled
    ... MS-MVP Windows Shell/User ... Disable or Enable Registry Editing Tools ... If a user tries to start a registry editor while the value of this entry ... [[Disables the Windows registry editors, ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Regedit has been disabled
    ... MS-MVP Windows Shell/User ... Disable or Enable Registry Editing Tools ... If a user tries to start a registry editor while the value of this entry ... [[Disables the Windows registry editors, ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Regedit has been disabled
    ... Registry Editing has been disabled by your administrator ... Disable or Enable Registry Editing Tools ... [[Disables the Windows registry editors, ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Regedit has been disabled
    ... get the eror mesg tat regedit has been disabled by the adminstrator. ... Disable or Enable Registry Editing Tools ... [[Disables the Windows registry editors, ...
    (microsoft.public.windowsxp.configuration_manage)