Powershell script running in the background

I want to run a powershell script at startup on some win10 machines that backs up many GB of data. I don't want to delay logon until this script ends so is there a way (apart from a shutdown script) where this script can run hidden in the background?
LVL 1
PeteAsked:
Who is Participating?
 
PeteAuthor Commented:
I ended up running as a shutdown script....
0
 
timgreen7077Exchange EngineerCommented:
You can schedule the script to run during off hours via the task scheduler. That way the script can run hours before the users need to log on and not interfere with user logins.
0
 
PeteAuthor Commented:
Ok, unfortunately we've already been through this, the scheduled task running at startup will not be able to write files to the network share (which is what the script does) as it runs as SYSTEM. Even if the task is setup to run as domain admin...
0
 
timgreen7077Exchange EngineerCommented:
ok, sorry you will need another expert to assist with this if you already tried that task scheduler which you say failed because of the nature of the script.
0
 
PeteAuthor Commented:
answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.