ixy Posted March 25, 2010 Posted March 25, 2010 Hello! Just found this great application and wanted to say hi to the community! I have a wee problem regarding automating removal of registry entries that I hope someone might be able to guide me in. I need to remove a bunch of registry keys plus the offending application froma few computers. The app removal I think I can deal with but merging the registry file in with the existing one I am less confident about. Could someone recommend an effective way to do this please? Here's what I have: DirCreate ("c:\Visionew") If FileExists("C:\Program Files\\uninst.exe") Then Run("C:\Program Files\Visio Veiwer\uninst.exe") EndIf FileInstall("c:\Visionew\test1.reg") Sleep(1) shutdown -r -t 20 -c "Rebooting computer" Appreciate any help!
gcue Posted March 25, 2010 Posted March 25, 2010 welcome! =) check out regdelete in the help file regdelete("\\" & $computer_name & "\hklm...)
ixy Posted March 25, 2010 Author Posted March 25, 2010 welcome! =)check out regdelete in the help fileregdelete("\\" & $computer_name & "\hklm...)Thanks Gcue, I'll have a look.
NerdFencer Posted March 25, 2010 Posted March 25, 2010 2 other solutions that you might be interested in if you already have a .reg file for this... ShellExecute("regedit.exe","/s SomeRegfileHere.reg",@ScriptDir) or... http://www.autoitscript.com/forum/index.php?showtopic=7771 (converts .reg files to AutoIt code) _________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell
ixy Posted March 25, 2010 Author Posted March 25, 2010 2 other solutions that you might be interested in if you already have a .reg file for this...ShellExecute("regedit.exe","/s SomeRegfileHere.reg",@ScriptDir)or...http://www.autoitscript.com/forum/index.php?showtopic=7771(converts .reg files to AutoIt code)Thanks Nerdfencer, I'll try these also!
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