Link to home
Start Free TrialLog in
Avatar of Pete
PeteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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?
Avatar of timgreen7077
timgreen7077

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.
Avatar of Pete

ASKER

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...
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.
ASKER CERTIFIED SOLUTION
Avatar of Pete
Pete
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pete

ASKER

answer