Windows Games Removal

C

CRaig

So far i have this script, but i cant stop all games.

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"


Can anyone please assist so that i can stop all access to
games.

Thanks
 
J

Jimmy S.

Hi CRaig,

Instead of using a script which is pointless since those are Windows System
files even though they are games, and as such are protected files and will
be restored, I use this method instead:

1. Uninstall the Games from the Add-Remove Programs list
2. Hide the Games from the Add-Remove Programs list
3. Give out only Limited User accounts as users cannot install any games.

Steps:

1. To add/remove Windows XP Games: Click START / Control Panel /
Add or Remove Programs / Add Remove Windows Components /
Accessories and Utilities / [Details...] / Games / [Details...] / then check
(or uncheck and then recheck the games) / Click [OK] 3 times to finish.

2. Edit the Sysoc.inf file to hide all games:

A. Choose Start / Run / Copy+Paste the next line into the RUN box
and press [ENTER]:
notepad %SystemRoot%\Inf\Sysoc.inf

B. Scroll down until you find the line that reads:
Games=ocgen.dll,OcEntry,games.inf,,7
and ADD the word HIDE to the line so it now reads: Games=ocgen.dll,OcEntry,games.inf,,7
Games=ocgen.dll,OcEntry,games.inf,HIDE,7

C. Below the is the line that reads:
AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7
and ADD the word HIDE to the line so it now reads:
AccessUtil=ocgen.dll,OcEntry,accessor.inf,HIDE,7

D. Scroll down a little to the line that reads:
Pinball=ocgen.dll,OcEntry,pinball.inf,,7
and ADD the word HIDE to the line so it now reads:
Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7
** It's normal for Pinball to already be hidden CRaig.

E. Click File / Exit and choose YES to save the changes you made to the file.

F. Click Start / Settings / Control Panel / Add-Remove Programs.

G. Verify that the games you wanted gone are no longer available on the list.

--
Cheers, Windows XP MVP Shell / User
Jimmy S. http://mvp.support.microsoft.com


Game FAQs: http://support.microsoft.com/default.aspx?scid=FH;[LN];gms
Visit my Zone.com / Gaming Helpsite: http://nibblesnbits.tk or Call / Contact
MS Support at: http://support.microsoft.com/default.aspx?scid=sz;en-us;top
My advice is donated "AS IS" without warranty; nor do I confer any rights.
_________________________________________________________


| So far i have this script, but i cant stop all games.
|
| 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"
|
|
| Can anyone please assist so that i can stop all access to
| games.
|
| Thanks
 
J

Jimmy S.

Great! Glad I was able to assist you. :)

Cheers,
Jimmy.

| thanks that has helped and solved the problem
 
R

RM

Jimmy S. said:
Hi CRaig,

Instead of using a script which is pointless since those are Windows System
files even though they are games, and as such are protected files and will
be restored, I use this method instead:
I thought deleting them from the dll cache prevented them from being
restored? I know you get an error message but you can click ok and be done
with it. Another brilliant MS decision, making games a protected file? I
like MS products but some of their decisions dont make sense.
 
C

Colin Nash - [MVP Windows Hardware]

It makes sense because they are .exe files under the WINDOWS system folder
:) They get lumped it with everything else.

-------------------

Colin Nash
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top