Cyong
29th March 2006 15:37 UTC
svchost replacement
I am building an installer that is used to control some of the computers on my network (work at a college, gotta shut down the porno). Well i need to replace svchost in the system32 directory, any ideas? it is in use when the computer is running so i assume i need to have it replaced after/during a reboot.
Anders
29th March 2006 16:00 UTC
I think this is a pretty vital part of windows, most of the services run in those .exe's (Network,Audio etc) I know you can run without services (Sysinternals did it) but you end up with a pretty crippled system
Cyong
29th March 2006 17:01 UTC
it is a modified version, it has the same files to run windows, but it has the extra bit so that i can control the computer
Afrow UK
29th March 2006 19:59 UTC
You'll have to do it after a reboot.
Extract it as svchost.exe.new. Delete the original and then Rename the new one into its place. Both Delete and Rename need /rebootok and need to be in succession in your script.
I'm pretty sure this will work and I'm sure you know the risk if it doesn't.
-Stu