Windows 10 Is there any way to run a batch script without showing up the command prompt window?

LOL

Member
Joined
Jun 28, 2021
Messages
13
I have a server and it don't have backup so I need to run my custom batch script to get files from sftp then archive it. But I need it to run like a schedules, but everytime the schedules start the batch files. I allway open up the command prompt window. Is anyway to hide that window? Like runing in background I thing.
 

Solution
You'll want to make sure it the task has these two items checked.
Also you'll need either an account that is a local admin or has the 'Log on as a batch job'
with in secpol.msc > 'Local Policies' > 'User Rights Assignment'
An image from 'Is there any way to run a batch script without showing up the command prompt window?'. Task scheduler configured to run a hidden batch task whether user is logged on or not.
You'll want to make sure it the task has these two items checked.
Also you'll need either an account that is a local admin or has the 'Log on as a batch job'
with in secpol.msc > 'Local Policies' > 'User Rights Assignment'
An image from 'Is there any way to run a batch script without showing up the command prompt window?'. Task scheduler configured to run a hidden batch task whether user is logged on or not.
 

Last edited by a moderator:
Solution
Back
Top