Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove games using logon script

Status
Not open for further replies.

cornfused

Programmer
Jul 30, 2003
3
US
I would like to create a logon script to remove sol.exe
and freecell.exe from all of my network computers. When I
try to delete these files the msg states that they are system files and can not be removed. They have inherited
permissions from the system32 folder. Any ideas on how to
delete these files from a script.
 
cornfused,

Since they exist in both %systemroot%\System32 and %systemroot%\system32\DllCache, SFP will put them back if you just delete the System32 copy.

Use a DOS batch file and delete the DllCache copy first

Ian

Everyday the Computer Gods pick one person to be "it". Maybe, today is your day !!
 
You could always replace them with another program. Like maybe something that pops up and asks them if they have work to do :)
 
That works except I get a Windows File Protection Error when
trying to delete the file from Dllcache. Is there a way to avoid that error message?
 
cornfused,

How are you deleting them ?? I just tried it from a DOS prompt and they just go away

Ian

Everyday the Computer Gods pick one person to be "it". Maybe, today is your day !!
 
Check out this Thread616-522718 much help there.


Good Luck,
spool
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top