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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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:
I ended up running as a shutdown script....
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PeteAuthor Commented:
answer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.