Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello :TL : I want to backup the system state of my
H drive on my desktop Unattended automatic
at a specific time .I found this :
Unattended automatic Windows NT Backups
Windows NT includes an application named ntbackup.exe; unfortunately it requires that the administrator be present to run it. The instructions below will show you how to have the program run automatically:
Create an "NT Script" (really a batch file with a .cmd extension), in this example we'll call it, backup.cmd; and type the following:
ntbackup backup c: d: /v /d "My_Backup" /b /hc:off /l "c:\winnt\backup.log"
The Script runs the application (ntbackup), and instructs it to back up (backup) drives c & d (c: d:) and to verify (/v) the backup, which will be named "My_Backup" (/d "My_backup"), then it should back up the NT registry "registry" (/b). The following switch (/hc:off) turns off compression and the last switch creates a log named backup.log in the winnt directory (or folder) of drive c (/l "c:\winnt\backup.log"). (You must use these options in the specified order for the backup to successfully run)TL : I made following script :
ntbackup backup h:[systemstate] d: /v /d My_Backup /b
/hc:off /l "h:\winnt\backup.log"
Now run the NT service Schedule. To do this open Control Panel and select services. Double click Schedule. Under startup Type select Automatic and then click O.K. Next, click Start then Close. Now, exit to the Command Prompt and type:
at 02:00 /every:t,w,th,f,s "c:\winnt\backup.cmd"
TL :I did :
H:\WINNT\System32\at 17:35 /every t,w,th,f,s
" H:\WINNT\system32\backup.cmd"But I get an error :
THE SYSTEM CANNOT FIND THE DRIVE SPECIFIED
WHAT is wrong in my script ??
Thanks
Theo
(The command AT tells the Schedule service to run the script backup.cmd at 2:00 am every Tuesday, Wednesday, Thursday, Friday and Saturday).

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |