Uninstall Windows components via script file

G

Guest

I work for a company that wants to remove the Windows Games from all PCs
through out the office. We do not want to go to each computer individually,
and we are not using deployed installation images.

Currently, we are using Group Policy to block the execution of the games,
but this can be fairly easily circumvented.

We would like a way to, at computer startup, check if the games are
installed, and if so, uninstall them. You can't simply delete the executable
files, as apparently Microsoft consider Solitaire and the like "vital system
files," and protects them with Windows File Protection.

If anyone has any suggestions on how we could uninstall them, via a VBScript
or the like, it would be appreciated.

Thank you
 
P

Pop`

Jason said:
I work for a company that wants to remove the Windows Games from all
PCs through out the office. We do not want to go to each computer
individually, and we are not using deployed installation images.

Currently, we are using Group Policy to block the execution of the
games, but this can be fairly easily circumvented.

We would like a way to, at computer startup, check if the games are
installed, and if so, uninstall them. You can't simply delete the
executable files, as apparently Microsoft consider Solitaire and the
like "vital system files," and protects them with Windows File
Protection.

If anyone has any suggestions on how we could uninstall them, via a
VBScript or the like, it would be appreciated.

Thank you

Umm, not to burst your bubble, but I just went to the system32 and deleted
sol.exe and spider.exe, then I deleted the link from All Users. Nary a
complaint. Works good, lasts along time.

If you don't want to actually delete the exe's, then just rename them so the
links don't point to them anymore. Or move them to somewhere obscure AND
rename them. xyzlog.txt is a good name for them.


HTH
Pop
 
G

Guest

Sorry, I wasn't entirely clear I guess.

You can delete the exes from the system32 folder, but Windows File
Protection will "bring them back." If you also delete them from the
\dllcache folder, you start getting Windows File protection warnings, ditto
if you "create" an executable with the same name.

The links most likely don't get "brought back from the dead," but the exes
definately do. Don't believe me? Go into your system32, I'd bet you have
sol.exe again...

I can whip something up to delete the shortcuts in the Start Menu, but I'd
like something a little more "permanent," which is why I'd like to find a way
to uninstall them, at ever startup, if someone keeps reloading them.

Thanks for the idea though...
Jason.
 

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