| ||||
You could run a logon script that would stop the services when the user logs on, and then a logoff script that would start them back up when the user logs off. |
| ||||
Ok, i'm not too hot on scripting. Would this do it? Something I found on the net. strComputer = "." ' NB strService is case sensitive. strService = " 'Alerter' " Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Set colListOfServices = objWMIService.ExecQuery _ ("Select * from Win32_Service Where Name ="_ & strService & " ") For Each objService in colListOfServices objService.StopService() Next |
| ||||
I don't know about the VBScript you posted; I was thinking more along the lines of a batch file with the 'net start servicename' command, but you've got the general idea. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Rate This Thread | |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GMail invites "first come first serve basis" | michealwolfe | Random Nonsense! | 22 | 19th September, 2004 08:02 AM |
User Survey | Gizmo | Random Nonsense! | 21 | 5th March, 2004 06:30 AM |
help with user setups | KaCaBUla | OS, Software, Firmware, and BIOS | 0 | 13th May, 2003 06:51 PM |
The user map | Allan | ThunderRd's AOA FOLDING@HOME Team | 0 | 24th September, 2002 08:22 PM |
might as well reserve my user name... | Maxvla | Random Nonsense! | 21 | 24th September, 2002 12:07 PM |