Windows NT server 4.0 backups

By ·
I recently was hired as the server administrator for a company running 50 computers. Their backup server is running Windows NT Server 4.0. They run DOS scripts that create backup files to a building in another location. I am used to using server 2003. How do I run DOS scripts to create backup files to the off site computer? Second question is, that every time a new employee is hired their is about 14 scripts to type in and I was wondering if there is a way to where I only have to write one?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

RE: Windows NT server 4.0 backups

by Jacky Howe In reply to Windows NT server 4.0 bac ...

First thing that I would do is to get familiar with the DOS Scripts. Check the Scheduled Tasks and see what is running and who it is run by, this is normally where the Backup Script is run from.

Adding Single or Bulk Users
Create a Text file and name it Yes.txt
Type in y and save both files to the root directory of the Server.
Create a Batch file and name it MKUser.bat
Copy and Paste between ======== to the new file modifying the contents to reflect your setup.

@echo on
net user %1 %2 /add /fullname:"%3 %4" /comment:"User" /homedir:%LOGONSERVER%\%1$ /profilepath:%LOGONSERVER%\Profiles$\%1 /scriptpath:Logon.bat

net group "Staff" %1 /add /Domain

md %LOGONSERVER%\profiles$\%1

xcacls %LOGONSERVER%\profiles$\%1 /T /G "Administrators":F %1:F <YES.TXT

md \minero\users\%1

xcacls \minero\users\%1 /T /G "Administrators":F %1:F <YES.TXT

net share %1$=D:\minero\users\%1 /y


%1 = username
%2 = password
%3 = Firstname
%4 = Lastname
%1$ = Hides the folder. Creates a Hidden Share

To add Multiple Users another Batch file can be created that Calls the MKUser.bat

Example: AddUser.bat
Call c:\MKUser.cmd Jack password Jack Jones
Call c:\MKUser.cmd Jill password Jill Jones

This is on one line.
@echo on
net user %1 %2 /add /fullname:"%3 %4" /comment:"User" /homedir:%LOGONSERVER%\%1$ /profilepath:%LOGONSERVER%\Profiles$\%1 /scriptpath:Logon.bat

Edit. Trying to fix format

Related Discussions

Related Forums