Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Terminate service upon user login, batch script

$
0
0

Hi there,

We have around ~100 computer that are solid state hard drive equipped. Also, we have ~50 computer that have regular 7200 hard drives.

I created a Group Policy that launches a batch script upon user login that terminates a particular service and attempts to "taskkill" a process. Here it is:

sc stop backburner_srv_200
taskkill /F /IM "3dsmax.exe"

The problem is that if a computer, a user logs in to, is solid state hard drive equipped, the above script does not run, or perhaps does not have a chance to run? because solid state hard drive is so fast?

I am at a loss.

Any help would be appreciated!

Thanks,


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>