Discussion Locked

games from 2k clients in nt 4 domain

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Anybody know how to remove games from all my win2k clients on my nt4 domain? I really don't want to have to visit each machine... maybe some command I can put in a script or something???

12 replies

by syscokid

You mean the games that come with Windows? You could probably do it in a login script:

net use x: \\%computername%\C$
del X:\windows\game1.exe
del X:\windows\game2.exe
.
.etc
net use X: /delete

Substitute the real game names for game1, game2 etc.

by syscokid

Better yet "del X:\windows\game1.*" to delete dll's and hlp files. You could also use the same technique to delete the shortcuts from the Start Menu.

by qb

Adding these lines to your login script will delete the program executibles and it will also remove the shortcuts from the start menu. If your users are not that computer savy I would suggest just useing the first line and delete the shorcuts from the start menu.

del /q "C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Games"

del /q %SystemRoot%\System32\sol.exe

del /q %SystemRoot%\System32\freecell.exe

del /q %SystemRoot%\System32\winmine.exe

del /q "C:\Program Files\Windows NT\Pinball\PINBALL.EXE"

by aforjeh

Yes... it deletes the files, but how do I get around the windows file protection error that results from it?

by rvkempen

Whatever you put in your login script, will be run with the users rights.
The run once in the registry will be run with the system rights.
So you need to seek for a way to put a registry change in place in case there are games spotted in youre users system.
A good tool for this is kixtart from the resourse kit (nt4)
If you do not have the resource kit, you can download kixtart from www.kixtart.org
You can make statements like if exists c:\%systemroot%\bomber.exe and ifingroup(noadmins) addkey \\hkey_currentuser\bla\bla\runonce\command

where command would be the key you want to use.
What you want to do cannot be done without tools, kixtart is a good one, written by micro$oft, but available for free (no support).
Download it, read the word file that comaes with it, if you like the tool, you will figure out lots of other nice things you can do with it.

Good games hunting.

Ron.,

ps

I did not use the right syntax above, please erad the word file mentioned above.

This discussion is closed to new replies.