login from command line

This is a discussion about login from command line in the Windows Software category; 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Apr 21
Created
May 6
Last Response
0
Likes
1 minute
Read Time
User User
Users

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.