ntbackup command line to create ASR Floppy?


Hello,

I have been reading about the ASR process have manually gone through steps and found that the ASR  (Asr.sif and Asrpnp.sif files) files are created in the C:\windows\system32\repair when you cancel when prompted for a floppy disk, is there a way to automate this ?

I have tried to research this for some time and have not found an answer, 500 points.

Thanks,
Mark
LVL 15
markpalinuxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ozegaCommented:
As you said, a quick web search dis not yield any results.
I do not know why Microsoft &Veritas do not provide a scheduled ASR option in their ntbackup program. A filemon.exe (from www.sysinternals.com) capture shows the file-system is accessed by a number of programs launched during ASR wizard by netbackup.exe or by each other:
asr_fmt.exe
asr_pfu.exe
asr_ldm.exe
dmadmin.exe
vssvc.exe
inetinfo.exe
rsmsink.exe
Only few of these programs provide a basic help dialog when run with /? switch. They appear to do certain queries to get some O/S configuration, volumes information, etc. You can researh them separatelly, see if you can put togeter a batch file (not sure if that is possible as some may not be documented). In top of that, keep in mind that these programs may also be doing Registry queries (as a Regmon.exe capture would show)
Another daunting task would be to enable auditing of "process tracking" and see if that reports any swithces used by these processes. the risk is that, you may need to work a lot and finally not being able to put together a viable solution...
Unless an MS Developer or Escalation Engineer that is familiar with ASR at code-level replies to you... a potential workaround is to try to look for programs that will record your actions (e.g launch ntbackup and click on the ASR wizard screens) and replay them as needed (on your desired schedule).
Sorry could not be of more help. Good luck and if I find more I will return to this thread.
Should this issue become critical for your organization, feel free to open a $250 (or so) support case with Microsoft EPS - ask for SETUP team. You should claim a refund if they are not able to provide you a resolution, but caution: just make sure the support enginner sends an escalation subcase to Microsoft CPR/Escalation team in US, and please give them time to research it).
0
markpalinuxAuthor Commented:
Ozega,

Very good answer.

Do you think that a AutoIt script would be able to start the wizard and cancel when it ask for the floppy, thus creating the files?
http://www.hiddensoft.com/autoit3/

would someone want to try and let me know.

Thanks,
Mark
0
ozegaCommented:
Saw Ntbackup.exe calls the next 3 ASR programs in order. You can also execute them at command line, but asr_ldm.exe throws the error message below. When run manually, they generate some files (as you can see if you search by file modified today). Ntbackup may be hardcoded to prepare the terrain for the ASR programs, by opening and writing to some files (SIF included). The bad thing is that ntbackup /? does not provide any documented command line option for ASR.
asr_fmt /backup /context=ASR
asr_pfu.exe /backup /context=ASR
asr_ldm.exe /backup /context=ASR

"Logical Disk Manager ASR Utility Error":
---------------------------
The ASR state file cannot be accessed since the handle to the ASR state file is invalid.  Please check your documentation for additional information.
---------------------------
By running "handle -p ntbackup.exe" (handle.exe from www.sysinternals.com) you can see ntbackup.exe opens a handle to the asr.sif file (output below). So, there is some integration between ntbackup and ASR programs. Not sure if anybody can add more information to break down this inter-programs communication so we can run them at command prompt independently.

   1c: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9
   3c: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9
   a0: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9
   ac: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9
   c0: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9
  20c: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9
  28c: File          C:\WINDOWS\system32
  2a4: File          C:\WINDOWS\repair\asr.sif
  2b4: Section       \BaseNamedObjects\ShimSharedMemory
  2bc: File          C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9

I posted a question with Microsoft, asking about their recommandation to "Run ASR backup regularly, preferably by using automatic settings". I will get back to you should they respond.
Guidelines for Using ASR
http://technet2.microsoft.com/WindowsServer/en/Library/7b4f0436-cc90-4b52-b6ab-064f9db8d2721033.mspx

I have not tried the autoit script yet, maybe next weeks, thanks for sharing.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
markpalinuxAuthor Commented:


ozega,


Thanks for all you help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.