Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Question is simple: I have an executable on my computer (running windows 7 Professional) that wants to restart my pc to install updates every single day. Unfortunately I can't remove it entirely, so I'm wondering if there's any way to leave it running but somehow revoke its permission to restart my pc.

More info: Looking at the event viewer, it says "exe has initiated the restart of computer on behalf of user NT AUTHORITY/SYSTEM"

share|improve this question
    
I don't think so. If it was Linux, then maybe you could... :D –  BenjiWiebe Feb 22 '13 at 13:52
    
An executable can't restart your pc without your permission. You cannot prevent that permission from being requested, although, you in theory you could grant that permission always automatically. –  Ramhound Feb 22 '13 at 13:55
1  
tiny bit of a horrible hack would be to keep notepad open. Seems to prevent reboots most of the time. –  Journeyman Geek Feb 22 '13 at 13:56
    
@Ramhound I'm not at my pc when this happens. I'll add more info to the question. –  Mansfield Feb 22 '13 at 13:57
1  
If the patching application requires a reboot to finish its work, it might not be the best idea to prevent it from doing that. –  Oliver Salzburg Feb 22 '13 at 14:08

1 Answer 1

up vote 3 down vote accepted

If the software has no options to change the frequency of reboots, then the only means would be to create a recurring task of a batch file running shutdown /a and hope that it runs whenever the exe calls for a reboot.

Ultimately, I'd get rid of a software that I can't control. Most people would consider software that "patches stuff" and reboots every day malware.

share|improve this answer
    
Thanks for the answer. I forgot to mention this is a work computer, it's the network's patch distribution software so it's definitely not malware. –  Mansfield Feb 22 '13 at 17:46
1  
In that case I would talk to someone in the IT department and describe this to them. I'm sure they have these patches on a schedule and can look into why yours is so frequent. It might be a simple group policy issue. –  Moses Feb 22 '13 at 17:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.