my laptop was okay, i tied to install my nokia phone 3500c, it said cannot install this hardware, data is invalid, did net search for usb cannot install, what i did was stupid, i opened windows registry went to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet, right clicked on permission and selected allow all (although some of the options were on "read", then my phone worked fine as usb drvice, but when i start windows restore, it says windows restore cannot protect ur computer , please restart, i did, it did not work, my printer driver also vanished, can i undo changes to the registry, my laptop was perfectly fine, i just tried to take things in to my own hands and i’m in a mess ,even the linking between excel documents is not working since please help
Tagged with: hardware data • laptop • nokia • nokia phone • printer driver • windows registry
Filed under: Registry Fix
Hey type/ copy the data in notepad
‘Enable/Disable Registry Editing tools
‘© Doug Knox – rev 12/06/99
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"
jobfunc = "Registry Editing Tools are now "
‘This section tries to read the registry key value. If not present an
‘error is generated. Normal error return should be 0 if value is
‘present
t = "Confirmation"
Err.Clear
On Error Resume Next
n = WSHShell.RegRead (p)
On Error Goto 0
errnum = Err.Number
if errnum <> 0 then
‘Create the registry key value for DisableRegistryTools with value 0
WSHShell.RegWrite p, 0, itemtype
End If
‘If the key is present, or was created, it is toggled
‘Confirmations can be disabled by commenting out
‘the two MyBox lines below
If n = 0 Then
n = 1
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t)
ElseIf n = 1 then
n = 0
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t)
End If
and save as regtools.vbs!!
After this copy and paste this regtools file in C:\windows\
click on it ……then open regedit from windows or type in run..
After opening regedit go to
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\RegEdt32\
make the value is 0.
Hey tell me what happened….n i wish that it works!!!
Enjoy!!!
Probably too late but when you work with the registry, click on FILE and then EXPORT. You do this first and export your registry to a safe folder. That way if you mess up, you can import the registry right back from that folder.
A system restore might work out of your system accessories.
Sarge
a complete system restore puts comp bac to factory reset. i had to do mine went into help menu and typed in factory reset i got instructions how to do this procedure. you will lose your docs. and photos so forth but sometimes a normal system restore does not work at least thats what happened to me. in fact i got in a mess trying to install software for my samsung phone. GOOD LUCK
System Restore
Programs | Accessories | System Tools