Re: control panel
On Sep 17, 7:14 pm, "Roger Fink" <f...@manana.org> wrote:
> You used to fix it by downloading and running fixnocontrolpanel.vbs.
> Unfortunately, MVP Doug Knox has long since removed this and other Win98
> fixes from his terrific website. As a public service, albeit for a small
> public, someone should get a hold of him and repost them somewhere. JMHO.
>
>
>
> ogir...@hotmail.com wrote:
> > In start menu Contgrol Panel has been deleted, how do I get it back?- Hide quoted text -
>
> - Show quoted text -
'fixnocontrolpanel.vbs - Restores Control Panel after lockout with
TweakUI or other utility
'© Doug Knox - 10/28/2001
'This code may be freely distributed/modified
'Downloaded from
www.dougknox.com
Option Explicit
On Error Resume Next
'Declare variables
Dim WSHShell, MyBox, p1, t
Dim jobfunc
'Set the Windows Script Host Shell and assign values to variables
Set WSHShell = WScript.CreateObject("WScript.Shell")
p1 = "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
\Policies\Explorer\NoControlPanel"
'Describe the funtion of the script for a dialog box
jobfunc = "Control Panel has now been restored." & vbCR
jobfunc = jobfunc & "You may need to log off/log on for the " & vbCR
jobfunc = jobfunc & "change to take effect."
'This section writes the correct values to the Registry
WSHShell.RegDelete p1
t = "Confirmation"
MyBox = MsgBox (jobfunc, 4096, t)
Copy and paste the above into a notepad document, and save it as
fixnocontrolpanel.vbs file. At that point you should be able to
double click it and the magic will happen? Watch out for word wrap...