troubleshooting Question

check if key exists with batch file or vbs

Avatar of aero-owner
aero-owner asked on
Windows XP
3 Comments1 Solution3725 ViewsLast Modified:
Basically I need to see if the following key exists:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A00000000001}

If it does...run:

MsiExec /qb /X{AC76BA86-7AD7-1033-7B44-A00000000001}

if not...just keep on going in the batch or vbs..


don't care if it's a batch file or VBS...

Thanx in advance.

High points cause I need this fast.

Brian
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
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 3 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