9 replies
by tmoran
Try this:
Write a batch file similar to this,
rdisk /s-
xcopy /I %systemroot%\repair\*.* \\Servername\rdisk$\%computername%
Where rdisk$ is a hidden share on one of your servers. I use this to make a new ERD every week by putting the batch file in 'Scheduled tasks'.
by lbischofs
Great suggestion above!
If you would, please follow-up with how you would get this files to floppy. I just noticed the size of all files copied to the RDISK folder was greater than would fit on a floppy.
by spydergst1
I am currently working on this one myself. I am using the solution mentioned above but I have taken it a few steps farther.
Use the at command to schedule and run rdisk and winmsd (use the syntax mentioned above). Then copy the repair directory to a central location on another server. You will have to copy the winmsd report from a seperate command.
I created a batch file (first.bat) which runs:
netdom member > servers.txt (creates a server list for the domain and saves it to a file). del copyto.bat (deletes old server list)
del run.bat (deletes old server list)
run excel macro (macro imports servers.txt and adds the command to copy diag.bat to all servers in domain. ie in macro--copy /y c:\diags.bat \\servername\admin$ The macro then saves as copyto.bat)
call copyto.bat (this will copy diags.bat to all servers which may have been added to the domain without you knowledge.)
run excel macro (another excel macro that imports servers.txt and add the command to run the diags.bat for all servers using the at command. ie at /interactive "diags.bat". the macro saves as run.bat)
call run.bat (runs all diags.bat for all servers in the domain.
Diags.bat is a script which will run winmsd and rdisk then it copies the data to a central location.
You can copy the rdisk info to floppy from file when needed. It does work,I've done it before.
by aekland
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending