Keisha
asked on
W2K Script needed to remove games at login
I am working on a physically diverse network of ~400-500 W2K machines. A large number were mistakenly deployed with the games still installed. I have googled and found the trick of modifying sysoc.inf to make the games show up in Add/Remove Programs. It's a good solution, except that some of these machines are 200 miles away. I have found that it can be done via Group Policy, but we are not running any form of it as this time.
What I am in search of is a way to add to the users login scripts commands to search to see if the games are present and if so delete them and the directories they belong in. (Don't want the games to even -appear- to be installed.) We have something very similar that worked quite well under Windows NT, but does not work under W2K. Best as I can tell, W2K appears to readd the games every time I simply delete the .exe. Very frustrating. I have been able to modify the old script to look at C:\WINNT\SYSTEM32\$gameinq uestion.ex e, but despite appearing to delete the exe...it still runs.
Can anyone help this frazzled tech?
-Keisha
What I am in search of is a way to add to the users login scripts commands to search to see if the games are present and if so delete them and the directories they belong in. (Don't want the games to even -appear- to be installed.) We have something very similar that worked quite well under Windows NT, but does not work under W2K. Best as I can tell, W2K appears to readd the games every time I simply delete the .exe. Very frustrating. I have been able to modify the old script to look at C:\WINNT\SYSTEM32\$gameinq
Can anyone help this frazzled tech?
-Keisha
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much!!!
-Keisha
-Keisha
If exist %windir%\system32\dllcache
if exist %windir%\system32\sol.exe del %windir%\system32\sol.exe