I have a powershell script that is working at Night in office PC - (wiht out admin privileges)- the problem is at night time Updates are getting pushed and system is restarting and script wont start since I do not have batch execution or other similar right.
There is a way to 'end task' windows updates though powershell in task manager.
However, I wanted to know if it is safe - I will restart pc once I am back to office.
I cannot disable the update service - no rights are there. Mainly wanted to know the difference between update service and update task.
- Update service is responsible for update downloads? or task is responsible?
- Is update service is responsible for installing the updates or the task is responsible?
- What while happen (cons) if I keep running a script to end task the windows update task every minute.
- I tried the 'shutdown -a' every minute but came to know it wont effect the updates based shutdown.
No admin privileges - so bye bye to gpedit, regedits etc based solutions.
Once the update is done - there will be a screen asking for restart (5-15 mins) or manual restart after an hour etc - but since no one will be there it is auto restarting. Please advice. - It is really helpful to know more on it.