troubleshooting Question

Trying to cleanup registry entries after an unistall

Avatar of sreeranga_vs
sreeranga_vs asked on
ProgrammingMicrosoft Legacy OSVB Script
14 Comments1 Solution540 ViewsLast Modified:
I had visio installed and afer an unistall it leaves few registry entries behind. I wanted to clean the same up using a script. I had used vb script and windows scripts a long time back and have forgotten.

I am using the below script. When I do so i am getting an error "Invalid root in registry key " at Line 6 char 1 . Error code is 800700003; Source is WshShell.RegDelete.

Can anyone please help...

Dim WshShell , cal1
 
Set WshShell = WScript.CreateObject("WScript.Shell")
cal1 = "\HKLM\SOFTWARE\classes\.vst\"
WScript.echo "xxxxxxxx: " & Cal1
WshShell.RegDelete cal1
ASKER CERTIFIED SOLUTION
Jared Luker

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros