JSI Tip 0072 - Users never have a current ERD!Windows NT ®

In most sites, users rarely have a current ERD when they need one!
Do it for them with this procedure:

Use the scheduler (AT command) (or a good one like OpalisRobot) on each workstation to schedule a RDISK.exe /S-. The batch file to schedule is:

%windir%\system32\rdisk.exe /s-
%windir%\system32\xcopy.exe %windir%\repair\*.* \\YourServer\RepairShare$\%computername%\ /q /r /h
exit

where %computername% is a subdirectoy of the hidden share on the Server, i.e.; one for each workstation.

When you need an ERD for that workstation, just format a diskette on your Server and copy the files from their wsX directory.

The scheduler must be run under the system context and allowed to interact with the desktop or under the context of an administrative user. If you use the system account, you can't schedule the copy because the system account has no network access. Use a ROBOT account with a non-blank non-expiring password that is a member of the administrator group. Use full path names for all files. Here is a sample schedule for Workstation "wsA":

AT \\wsA 01:00 /interactive /every:M,T,W,Th,F,S,Su \\YourServer\RepairShare$\Repair.bat

You can dress up the Repair.bat with logging, messaging, etc


Please or Register to post comments.

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.