/build/static/layout/Breadcrumb_cap_w.png

Uninstalling Windows XP mode

With Microsoft ending support for XP many of us have been given the task of uninstalling XP mode from our Windows 7 clients.  With 1 -10 of these machines, sitting down and manually uninstalling:

Control Panel -> Uninstall,

may be the way for some to go. Unfortunately for those of us with hundreds of machines, this just isn't time or cost effective.  The K1000 has a wonderful uninstall tool maker and the script it made did uninstall the XP mode, but needed user interaction. 

Original K1000 Script created by editor

msiexec.exe /qn /X{1374CC63-B520-4f3f-98E8-E9020BF01CFF}

The changes necessary, however, were not that huge.  “/quiet” needed to be added to the parameters:

msiexec.exe /quiet /qn /X{1374CC63-B520-4f3f-98E8-E9020BF01CFF}

This script would uninstall XP mode with no user interaction.*

*This only uninstalls the program, any VHD’s are still there cluttering up disk space. 

If XP mode is no longer necessary, then Windows Virtualization may also no longer be necessary.  This can be removed with:

wusa.exe /uninstall /kb:958559 /quiet /norestart

This was all put into a .bat file and deployed from the K1000. 

@echo off

wusa.exe /uninstall /kb:958559 /quiet /norestart

msiexec.exe /quiet /qn /X{1374CC63-B520-4f3f-98E8-E9020BF01CFF}

del "LOCATION OF YOUR VHDS" /q

After the above script is run, the computer will need a restart. 

 

Below is what the final script looks like.  The verify and redemption 1 were created by the K1000. 


Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ