sanjeev18 Posted March 12, 2011 Share Posted March 12, 2011 hey guys i am using visual basic 6.0 to create simple registry key deleter what i used is hereShell ("reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\wgalogon /f"), vbHidebut these dont work until i make it Shell ("reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\wgalogon" /f"), vbHidewhen i do this it says syntax errorit means i need " in registry key how to do that any help Link to comment Share on other sites More sharing options...
submix8c Posted March 12, 2011 Share Posted March 12, 2011 (edited) Why would you want to delete that key? (Hmmm, says me!) If this is in reference to "Not Genuine", why not just use MS' Replace Key (using the valid correct key, of course) method and revalidate? This is part of KB905474 "WGA Validation". Works fine.Unless you mean this? This is in reference to a little-known "boo-boo" on MS' part for folks reinstalling their OS using the key on the side (COA) and the OEM's "modified" XP Install CD. In essence, (AFAICR), the files in a certain version (can't remember which) were incorrect and the only way to correct it was to first eliminate references to the "bad" and reinstall the newer, thus correctly validating.Please explain your reasoning. (cough-cough). Edited March 12, 2011 by submix8c Link to comment Share on other sites More sharing options...
Yzöwl Posted March 12, 2011 Share Posted March 12, 2011 "reg delete ""HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\wgalogon"" /f" Link to comment Share on other sites More sharing options...
allen2 Posted March 12, 2011 Share Posted March 12, 2011 Why not using the vbs reg api like the code in this post ? Link to comment Share on other sites More sharing options...
sanjeev18 Posted March 13, 2011 Author Share Posted March 13, 2011 thanks Link to comment Share on other sites More sharing options...
marcusj0015 Posted April 2, 2011 Share Posted April 2, 2011 why don't you just use this instead Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\wgalogon] notice the minus - between the [ hthat means remove the reg keyjust save it as WHATEVERYOUWANTTOCALLIT.REG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now