login from command line

Question, I leave our NT server not logged in to prevent unauthorised access. But I would like to automate it logging in each evening at 12am as the backup user and running ntbackup to backup the entire drive, then logging out.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar28.webp

19 Posts
Location -
Joined 2004-02-20
Question, I leave our NT server not logged in to prevent unauthorised access. But I would like to "automate" it logging in each evening at 12am as the "backup" user and running ntbackup to backup the entire drive, then logging out.
 
I can automate the backup process via a commandline but can we get NT to login from a commandline command. There doesn't seem to be a login.exe that we could run from a batch file.
 
Any ideas ?
 
Les

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar26.webp

690 Posts
Location -
Joined 2004-05-06
There is no need to login. You can use the scheduler to automatically 'login' and run a backup and you can specify which user to use as well. See Schedule under My Computer (or Control Panels) or use the AT.EXE command to schedule jobs.