ntbackup command line to create ASR Floppy?

Posted on 2006-03-21
Last Modified: 2011-04-14


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.

Question by:markpalinux
    LVL 1

    Expert Comment

    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 capture shows the file-system is accessed by a number of programs launched during ASR wizard by netbackup.exe or by each other:
    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).
    LVL 15

    Author Comment


    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?

    would someone want to try and let me know.

    LVL 1

    Accepted Solution

    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 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

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

    LVL 15

    Author Comment



    Thanks for all you help.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now