PC Review


Reply
Thread Tools Rate Thread

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

 
 
=?Utf-8?B?VFggVGVjaGll?=
Guest
Posts: n/a
 
      4th May 2006
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
 
Reply With Quote
 
 
 
 
Jimmy S.
Guest
Posts: n/a
 
      4th May 2006
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


 
Reply With Quote
 
=?Utf-8?B?VFggVGVjaGll?=
Guest
Posts: n/a
 
      4th May 2006
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
>
>
>

 
Reply With Quote
 
Jimmy S.
Guest
Posts: n/a
 
      4th May 2006
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


 
Reply With Quote
 
=?Utf-8?B?VFggVGVjaGll?=
Guest
Posts: n/a
 
      4th May 2006
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
>
>
>

 
Reply With Quote
 
Jimmy S.
Guest
Posts: n/a
 
      5th May 2006
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Micrfosoft uninstall script retards screwed up the Office 2010 trial removal script! TheQuickBrownFox Microsoft Excel Discussion 0 2nd Nov 2010 12:48 AM
VBScript Login Script MarkMorow Windows Vista Security 0 29th Jul 2008 03:05 AM
How would you write a script to add and apply a group policy in Active Directory? Script could be VBscript arpitaashokadessai@gmail.com Microsoft Windows 2000 Active Directory 1 14th Feb 2007 09:07 PM
VBscript script files =?Utf-8?B?a2xkbGltb24=?= Windows XP Photos 1 28th Sep 2004 01:04 AM
My pic are all VBScript Script Files Brnest1269 Windows XP Photos 2 20th Nov 2003 08:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:12 AM.