Can I uninstall XP Games via a script (CMD, VBScript, etc.)?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to a uninstall the Windows XP Games quietly (without user
intervention) either via a command script (.cmd batch file) or a VBScript
file?

Thanks,

TX Techie
 
Hi TX Techie,

What type of environment are you working in, ie:
How many computers?
Are they on a domain?
Are they using Active Directory?
Do the users have admin rights?
Do the users have internet access?

--
Cheers, *Windows_XP_MVP_Shell/User*
Jimmy S. http://mvp.support.microsoft.com

Visit my MSN Zone.com and Gaming Help Site: http://mvps.org/nibblesnbits
MS Games Help and Support Center: http://support.microsoft.com/?pr=gms
My advice is donated "AS IS" without warranty; nor do I confer any rights.
_________________________________________________________

TX Techie Wrote:
=================
| Is there a way to a uninstall the Windows XP Games quietly (without user
| intervention) either via a command script (.cmd batch file) or a VBScript
| file?
|
| Thanks,
|
| TX Techie
 
We deploy new PCs or redeployments via a Ghost Image of WinXP Pro SP1 and
then apply another CD with several automated scripts to apply regional
customizations and installations. One of the latest requests of me is to
uninstall the XP Games from this Ghost Image (I am unable to modify the Ghost
Image itself - another group manages the Image).

The environment involves ~ 3,000 PCs. All are a member of a Win 2003 Server
Domain and AD; some users have admin rights and almost all of them have
Internet access.

TX Techie
 
Hi TX Techie,

Here's script from a past thread in this newsgroup on the topic:

REM Delete games from workstations.
If exist "c:\winnt\system32\dllcache\winmine.exe"
del "c:\winnt\system32\dllcache\winmine.exe"
If exist "C:\winnt\system32\winmine.exe"
del "C:\winnt\system32\winmine.exe"
If exist "C:\winnt\system32\dllcache\sol.exe"
del "C:\winnt\system32\dllcache\sol.exe"
If exist "C:\winnt\system32\sol.exe" del "C:\winnt\system32
\sol.exe"
If exist "C:\winnt\system32\dllcache\freecell.exe"
del "C:\winnt\system32\dllcache\freecell.exe"
If exist "C:\winnt\system32\freecell.exe"
del "C:\winnt\system32\freecell.exe"
If exist "C:\winnt\system32\dllcache\pinball.exe"
del "C:\winnt\system32\dllcache\pinball.exe"
del /Q "c:\program files\windows nt\pinball\*.*"
del /Q "C:\Documents and Settings\All Users\Start
Menu\Programs\Games\*.*"
If exist "C:\Documents and Settings\All Users.WINNT\Start
Menu\Programs\Games" RD /Q "C:\Documents and Settings\All
Users.WINNT\Start Menu\Programs\Games"
del /Q "C:\Documents and Settings\All Users.WINNT\Start
Menu\Programs\Games"
If exist "C:\Documents and Settings\All Users.WINNT\Start
Menu\Programs\Games" RD /Q "C:\Documents and Settings\All
Users.WINNT\Start Menu\Programs\Games"
pause


If exist "C:\Program Files\Windows NT\Pinball\PINBALL.EXE"
del "C:\Program Files\Windows NT\Pinball\PINBALL.EXE"
If exist "%SystemRoot%\System32\sol.exe" del "%SystemRoot%
\System32\sol.exe"
If exist "%SystemRoot%\System32\freecell.exe" del "%
SystemRoot%\System32\freecell.exe"
If exist "%SystemRoot%\System32\mshearts.exe" del "%
SystemRoot%\System32\mshearts.exe"
If exist "C:\Program Files\MSN Gaming
Zone\Windows\bckgzm.exe" del "C:\Program Files\MSN Gaming
Zone\Windows\bckgzm.exe"
If exist "C:\Program Files\MSN Gaming
Zone\Windows\chkrzm.exe" del "C:\Program Files\MSN Gaming
Zone\Windows\chkrzm.exe"
If exist "C:\Program Files\MSN Gaming
Zone\Windows\hrtzzm.exe" del "C:\Program Files\MSN Gaming
Zone\Windows\hrtzzm.exe"
If exist "C:\Program Files\MSN Gaming
Zone\Windows\Rvsezm.exe" del "C:\Program Files\MSN Gaming
Zone\Windows\Rvsezm.exe"
If exist "C:\Program Files\MSN Gaming
Zone\Windows\shvlzm.exe" del "C:\Program Files\MSN Gaming
Zone\Windows\shvlzm.exe"
If exist "%SystemRoot%\System32\spider.exe" del "%
SystemRoot%\System32\spider.exe"
If exist "C:\WINDOWS\SYSTEM32\MSHEARTS.EXE"
del "C:\WINDOWS\SYSTEM32\MSHEARTS.EXE"
If exist "C:\WINDOWS\SYSTEM32\SPIDER.EXE"
del "C:\WINDOWS\SYSTEM32\SPIDER.EXE"



--
Cheers, *Windows_XP_MVP_Shell/User*
Jimmy S. http://mvp.support.microsoft.com

Visit my MSN Zone.com and Gaming Help Site: http://mvps.org/nibblesnbits
MS Games Help and Support Center: http://support.microsoft.com/?pr=gms
My advice is donated "AS IS" without warranty; nor do I confer any rights.
_________________________________________________________




TX Techie Wrote:
=================
| We deploy new PCs or redeployments via a Ghost Image of WinXP Pro SP1 and
| then apply another CD with several automated scripts to apply regional
| customizations and installations. One of the latest requests of me is to
| uninstall the XP Games from this Ghost Image (I am unable to modify the Ghost
| Image itself - another group manages the Image).
|
| The environment involves ~ 3,000 PCs. All are a member of a Win 2003 Server
| Domain and AD; some users have admin rights and almost all of them have
| Internet access.
|
| TX Techie
|
|
| "Jimmy S." wrote:
|
|| Hi TX Techie,
||
|| What type of environment are you working in, ie:
|| How many computers?
|| Are they on a domain?
|| Are they using Active Directory?
|| Do the users have admin rights?
|| Do the users have internet access?
||
|| --
|| Cheers, *Windows_XP_MVP_Shell/User*
|| Jimmy S. http://mvp.support.microsoft.com
||
|| Visit my MSN Zone.com and Gaming Help Site: http://mvps.org/nibblesnbits
|| MS Games Help and Support Center: http://support.microsoft.com/?pr=gms
|| My advice is donated "AS IS" without warranty; nor do I confer any rights.
|| _________________________________________________________
||
|| TX Techie Wrote:
|| =================
||| Is there a way to a uninstall the Windows XP Games quietly (without user
||| intervention) either via a command script (.cmd batch file) or a VBScript
||| file?
|||
||| Thanks,
|||
||| TX Techie
 
Thank you, Jimmy! I searched through the newsgroup, but only found
references to uninstall the XP Games from the GUI. I thought I might have to
delete each one manually - you saved me some time with this script.

Thank you!

TX Techie
 
Hi TX Techie,

You're welcome. Glad that helps! :-)

--
Cheers, *Windows_XP_MVP_Shell/User*
Jimmy S. http://mvp.support.microsoft.com

Visit my MSN Zone.com and Gaming Help Site: http://mvps.org/nibblesnbits
MS Games Help and Support Center: http://support.microsoft.com/?pr=gms
My advice is donated "AS IS" without warranty; nor do I confer any rights.
_________________________________________________________


TX Techie Wrote:
=================
| Thank you, Jimmy! I searched through the newsgroup, but only found
| references to uninstall the XP Games from the GUI. I thought I might have to
| delete each one manually - you saved me some time with this script.
|
| Thank you!
|
| TX Techie
|
|
| "Jimmy S." wrote:
|
|| Hi TX Techie,
||
|| Here's script from a past thread in this newsgroup on the topic:
||
|| REM Delete games from workstations.
|| If exist "c:\winnt\system32\dllcache\winmine.exe"
|| del "c:\winnt\system32\dllcache\winmine.exe"
|| If exist "C:\winnt\system32\winmine.exe"
|| del "C:\winnt\system32\winmine.exe"
|| If exist "C:\winnt\system32\dllcache\sol.exe"
|| del "C:\winnt\system32\dllcache\sol.exe"
|| If exist "C:\winnt\system32\sol.exe" del "C:\winnt\system32
|| \sol.exe"
|| If exist "C:\winnt\system32\dllcache\freecell.exe"
|| del "C:\winnt\system32\dllcache\freecell.exe"
|| If exist "C:\winnt\system32\freecell.exe"
|| del "C:\winnt\system32\freecell.exe"
|| If exist "C:\winnt\system32\dllcache\pinball.exe"
|| del "C:\winnt\system32\dllcache\pinball.exe"
|| del /Q "c:\program files\windows nt\pinball\*.*"
|| del /Q "C:\Documents and Settings\All Users\Start
|| Menu\Programs\Games\*.*"
|| If exist "C:\Documents and Settings\All Users.WINNT\Start
|| Menu\Programs\Games" RD /Q "C:\Documents and Settings\All
|| Users.WINNT\Start Menu\Programs\Games"
|| del /Q "C:\Documents and Settings\All Users.WINNT\Start
|| Menu\Programs\Games"
|| If exist "C:\Documents and Settings\All Users.WINNT\Start
|| Menu\Programs\Games" RD /Q "C:\Documents and Settings\All
|| Users.WINNT\Start Menu\Programs\Games"
|| pause
||
||
|| If exist "C:\Program Files\Windows NT\Pinball\PINBALL.EXE"
|| del "C:\Program Files\Windows NT\Pinball\PINBALL.EXE"
|| If exist "%SystemRoot%\System32\sol.exe" del "%SystemRoot%
|| \System32\sol.exe"
|| If exist "%SystemRoot%\System32\freecell.exe" del "%
|| SystemRoot%\System32\freecell.exe"
|| If exist "%SystemRoot%\System32\mshearts.exe" del "%
|| SystemRoot%\System32\mshearts.exe"
|| If exist "C:\Program Files\MSN Gaming
|| Zone\Windows\bckgzm.exe" del "C:\Program Files\MSN Gaming
|| Zone\Windows\bckgzm.exe"
|| If exist "C:\Program Files\MSN Gaming
|| Zone\Windows\chkrzm.exe" del "C:\Program Files\MSN Gaming
|| Zone\Windows\chkrzm.exe"
|| If exist "C:\Program Files\MSN Gaming
|| Zone\Windows\hrtzzm.exe" del "C:\Program Files\MSN Gaming
|| Zone\Windows\hrtzzm.exe"
|| If exist "C:\Program Files\MSN Gaming
|| Zone\Windows\Rvsezm.exe" del "C:\Program Files\MSN Gaming
|| Zone\Windows\Rvsezm.exe"
|| If exist "C:\Program Files\MSN Gaming
|| Zone\Windows\shvlzm.exe" del "C:\Program Files\MSN Gaming
|| Zone\Windows\shvlzm.exe"
|| If exist "%SystemRoot%\System32\spider.exe" del "%
|| SystemRoot%\System32\spider.exe"
|| If exist "C:\WINDOWS\SYSTEM32\MSHEARTS.EXE"
|| del "C:\WINDOWS\SYSTEM32\MSHEARTS.EXE"
|| If exist "C:\WINDOWS\SYSTEM32\SPIDER.EXE"
|| del "C:\WINDOWS\SYSTEM32\SPIDER.EXE"
||
||
||
|| --
|| Cheers, *Windows_XP_MVP_Shell/User*
|| Jimmy S. http://mvp.support.microsoft.com
||
|| Visit my MSN Zone.com and Gaming Help Site: http://mvps.org/nibblesnbits
|| MS Games Help and Support Center: http://support.microsoft.com/?pr=gms
|| My advice is donated "AS IS" without warranty; nor do I confer any rights.
|| _________________________________________________________
||
||
||
||
|| TX Techie Wrote:
|| =================
||| We deploy new PCs or redeployments via a Ghost Image of WinXP Pro SP1 and
||| then apply another CD with several automated scripts to apply regional
||| customizations and installations. One of the latest requests of me is to
||| uninstall the XP Games from this Ghost Image (I am unable to modify the Ghost
||| Image itself - another group manages the Image).
|||
||| The environment involves ~ 3,000 PCs. All are a member of a Win 2003 Server
||| Domain and AD; some users have admin rights and almost all of them have
||| Internet access.
|||
||| TX Techie
|||
|||
||| "Jimmy S." wrote:
|||
|||| Hi TX Techie,
||||
|||| What type of environment are you working in, ie:
|||| How many computers?
|||| Are they on a domain?
|||| Are they using Active Directory?
|||| Do the users have admin rights?
|||| Do the users have internet access?
||||
|||| --
|||| Cheers, *Windows_XP_MVP_Shell/User*
|||| Jimmy S. http://mvp.support.microsoft.com
||||
|||| Visit my MSN Zone.com and Gaming Help Site: http://mvps.org/nibblesnbits
|||| MS Games Help and Support Center: http://support.microsoft.com/?pr=gms
|||| My advice is donated "AS IS" without warranty; nor do I confer any rights.
|||| _________________________________________________________
||||
|||| TX Techie Wrote:
|||| =================
||||| Is there a way to a uninstall the Windows XP Games quietly (without user
||||| intervention) either via a command script (.cmd batch file) or a VBScript
||||| file?
|||||
||||| Thanks,
|||||
||||| TX Techie
 
Back
Top