I made a cmd file to stop and start a service when it had issues and it worked a treat
i was able to run it from another pc on the same lan no problems
then it just decided to stop working. it wouldn't even work if i ran it from the actual pc unless i ran it as admin (i haven't changed any settings) but it was around that time UAC decided to somehow take over and prompt me for everything and the UAC shield started appearing next to a lot of things. (i have windows check but not install updates) and i haven't installed any updates in that time.
my work around was to remote desktop into that pc and run the cmd as admin then log back out but i'm getting sick of doing a work around for a work around.
i get an error:
Can anyone tell me
1. how do i disable UAC completely to see if it works?
2. a different way to do it?
3. why it stopped/wont work?
i was able to run it from another pc on the same lan no problems
then it just decided to stop working. it wouldn't even work if i ran it from the actual pc unless i ran it as admin (i haven't changed any settings) but it was around that time UAC decided to somehow take over and prompt me for everything and the UAC shield started appearing next to a lot of things. (i have windows check but not install updates) and i haven't installed any updates in that time.
my work around was to remote desktop into that pc and run the cmd as admin then log back out but i'm getting sick of doing a work around for a work around.
i get an error:
Code:
[SC] OpenService FAILED 5:
[SC] StartService: OpenService FAILED 5:
Can anyone tell me
1. how do i disable UAC completely to see if it works?
2. a different way to do it?
3. why it stopped/wont work?
Code:
sc \\**HOSTNAME* stop **SERVICE**
timeout 10
sc \\**HOSTNAME* start **SERVICE**
pause
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Custom
- OS
- Windows 7 Ultimate x64
- CPU
- Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
- Motherboard
- ASRock Z77 Extreme4
- Memory
- 16GB 2x F3-1600C10-8GAO
- Graphics Card(s)
- NVIDIA GeForce GTX 260
- Sound Card
- onboard
- Screen Resolution
- 1920x1080
- Hard Drives
- (1) Hitachi HDS721050CLA362
(2) SanDisk SDSSDX240GG25
(3) WDC WD5000AAKS-00TMA0
- PSU
- Antec Quattro 850W