VBS script question

L

luminore

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.
 
W

Wesley Vogel

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
 
L

luminore

Well, I run some VBSript that enable registry editing feature again
(that has been disabled by admin). Just can no find this script again.
Win XP home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top