How to enable dump file during OSD?

Hello,
I'm having an issue with a line of Dell laptops getting stuck in a reboot loop after the first reboot of our OSD task sequence, which is an SCCM 2012 SP1/MDT 2012 Update 1 Client Task Sequence.
After it lays down the OS and reboots for the first time, we get a BSOD.  There is no DMP file at C:\Windows\Minidump.  How can I enable the minidump or get the BSOD to stay on the screen if I can't get into the OS to make those changes?
How do I enable these features in WinPE?

First see http://blog.nirsoft.net/2010/07/27/how-to-configure-windows-to-create-minidump-files-on-bsod/
The bottom section cites the registry value to update.
You can directly enable this in your image or during the TS using the technique outlined under the
Full Windows OS - Operating System Image section
at
http://blogs.technet.com/b/system_center_configuration_manager_operating_system_deployment_support_blog/archive/2012/01/23/when-deploying-windows-server-2008-using-an-configuration-manager-osd-task-sequence-additional-disks-may-show-as-offline-when-the-task-sequence-completes.aspx (note
the problem discusses there is completely different and has nothing to do with this thread, but the technique of loading the offline registry hive, changing a value, and then unloading the registry hive is valid and applicable).
Jason | http://blog.configmgrftw.com

Similar Messages

  • How to prompt for OU during OSD Task with SCCM 2012 R2?

    How to prompt for OU during OSD Task with SCCM 2012 R2?

    Hi,
    Here is an example on how to do it using a Variable prompt in Configuration Manager, It works the same way in SCCM 2007,
    http://www.the-d-spot.org/wordpress/2013/04/01/dynamically-join-computer-to-ad-ou-during-osd-with-sccm/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • How to enable "All Files" in SharePoint Designer 2010

    Hi everyone,
    How can I enable "All Files" in my sharepoint designer.In home laptop I see it,but in production environment where I work,opening SharePoint Designer I can not see "All Files" button.I am with admin account and everithing is ticked in the central administration
    Designer options.
    Thanks in advance. 

    Hi ,
    I noticed that you said you can see the ‘All files’ folder in home laptop ,but it is missing when open in the production environment .Did this happen to
    all the sites or the site in the specific web application ?Have you extend the web application into an Internet zone?
    Actually you should change  the SharePoint designer settings in both  Central Administration and Site collection settings .Perform an IIS reset after change
    the settings and reopen the site in SharePoint designer.
    For more information about SharePoint designer settings ,please refer to this site :
    Locking Down SharePoint Designer 2010 :
    http://blogs.msdn.com/b/mcsnoiwb/archive/2010/07/01/locking-down-sharepoint-designer-2010.aspx
    Thanks,
    Entan Ming

  • To Create Time stamp in dump file during export

    Hi All ,
    While exporting table thDIRECTORY=USER_DATA_PUMP_DIR
    DUMPFILE=expdp_tables%U.dmp
    LOGFILE=expdp_tables.log
    CONTENT=ALL
    PARALLEL=4
    ESTIMATE=STATISTICS
    SCHEMAS=<Schema name >
    When i ran the shell file i am getting dump file generated as
    expdp_tables01.dmp
    expdp_tables02.dmp
    Could any one help how can i get the time stamp attached to the dump file .Its urgent kindly help me in this
    Thanks

    Munich,
    Thanks for ur suggestions and the same need to be imported how can i do it in the import operation while my import par file has
    DIRECTORY=DATA_PUMP_DIR
    DUMPFILE=expdp_tables%U.dmp <<how can i get the sydate.dmp>>
    LOGFILE=impdp_EIM_tables.log
    CONTENT=DATA_ONLY
    PARALLEL=4
    TABLE_EXISTS_ACTION=TRUNCATE
    EXCLUDE=GRANT
    EXCLUDE=STATISTICS
    EXCLUDE=TRIGGER
    What are the option that i can give to get the sysdate.dmp in the par file that i have got from
    mv exp.dmp exp.dmp.`date "+%d.%m.%Y"`
    or can i give
    DUMPFILE=expdp_tables%U'date'.dmp like that
    Thanks

  • How to load dump file

    hello all,
    I have a dump file with .dmp extension which is taken from my friend.How could I install in my database.

    Hi again!
    Seems like the impdp command is not in your %PATH% variable. Try this:
    1.) Open a command shell cmd.exe
    2.) Type in:
    set PATH=%PATH%;%ORACLE_HOME%\bin3.) Try again with impdp
    The precondition for this is that %ORACLE_HOME% is set correctly. The ORACLE_HOME directory is the directory where you've installed the Oracle software e. g. C:\oracle\product\10.2.0\. If you don't know your ORACLE_HOME then search for the string ORACLE_HOME in the Windows registry. There you should find the appropriate path.
    Yours sincerely
    Florian W.

  • How to delete dump file

    Hello,
    i am taking backups everyday on windows and that backup is generating dump file.
    so i have manually delete that dump file everyday.
    is there any way so that i can set a job which will automatically delete dumpfiles??
    thanks in advance

    I'm not sure what you are referring to as a dump file is this possibly a transcript or log file created by OSB? If this is something created outside of OSB you could invoke an after script inside the dataset used for the backup.

  • How to verify dump file

    Is there any way to verify dump file generated by export utility ?
    Can I use the dbverify ?
    Thanks

    dmp file can only be read by imp utility, not other one. dbverify is for different purpose, not at least for the one you ask.
    What you can could do is, just import the dmp file to know whether it is real dmp file or not.
    SJH
    OCP DBA

  • Trying to pass string OUPATH in my javscript file during OSD MDT deployment. How to do I do this correctly?

    I have an hta and javascript file that requests different pieces of AD info and passes them along to our server during deployment. I have been trying to get the string OU path to pass but am not able to. Each time I get an error that tells me its not a valid
    function.
    The string is called OUPATH below, I call this webservice in my task sequence during deployment after applying networking settings and it should take the value from the users input during the drop down selection. 
    WebService=http://YourWebServer/YourWSFolder/AD.asmx/MoveComputerToOU 
    Parameters=OSDComputerName,MachineObjectOU 
    OSDComputerName=ComputerName 
    MachineObjectOU=OUPath
    How do I write my java code to pass this info once a user has selected the option from the drop down? I've been working on this all week and can't seem to figure this out.
    function OUPath()
    var myVal = document.getElementById("ADOU").value;
    var outPut = "";
    switch (myVal) {
    case "1":
    outPut = "OU=Administrative,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "2":
    outPut = "OU=Development,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "3":
    outPut = "OU=External,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "4":
    outPut = "OU=IT,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "5":
    outPut = "OU=Restricted,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "6":
    outPut = "OU=Sales,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "7":
    outPut = "OU=Service Computers,OU=Workstations,DC=imo-online,DC=com";
    break;
    alert(outPut);
    The whole code is here
    var oTimer;
    // This is the javascript backend for the The BitLocker FrontEnd HTA - CM12 ver 3.0, Jan, 2013.
    // report bugs, suggestions, corrections, fixes etc to [email protected] or visit windows-noob.com
    // Below are the functions used in the HTA
    function searchcomputer(searchstring ) {
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    oEnvironment("SearchString")=searchstring;
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\searchcomputerbyname.wsf", 0, true);
    return oEnvironment("search_Computer");
    function performeComputerSearch() {
    var searchString = '';
    var searchTextBox = document.getElementById('searchstring_association');
    var searchReturnedResult = false;
    Clear the drop down from previous searches and add the first default element to the drop down.
    var el = document.getElementById("destinationComputerList");
    /* Clear drop down list. */
    while(el.options.length > 0)
    el.options.remove(0);
    /* Create first element, showing that the user has to select an element from the drop down list. */
    var opt1 = document.createElement("option");
    el.options.add(opt1);
    opt1.text = 'Select destination';
    opt1.value = '';
    Drop down blanked and first default value is added.
    if( searchTextBox != null ) {
    searchString = searchTextBox.value;
    if( searchString != '' ) {
    searchcomputer(searchString );
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var currentComputerResourceId = oEnvironment("GetResourceId");
    /* When web service returns process the result. */
    var html = new ActiveXObject("Microsoft.XMLDOM");
    /* Here extract the result from the oEnviroment , remeber to create the oEnviorment object if it's not created before. */
    var result = oEnvironment("search_Computer");
    // alert(result);
    html.loadXML(result);
    /* Retrive all the computers in the search result. */
    var anodes = html.selectNodes("//Resource");
    /* Create drop down elements base on the */
    for (var i=0; i < anodes.length; i++){
    var obsolete = anodes(i).selectSingleNode("Obsolete").text;
    var resourceid = anodes(i).selectSingleNode("ResourceID").text;
    if( obsolete == 'false' && currentComputerResourceId != resourceid ) {
    /* Computer is not Obsolete, added it to the drop down. */
    var name = anodes(i).selectSingleNode("Name").text;
    // alert (name);
    var SMSUniqueIdentifier= anodes(i).selectSingleNode("ResourceID").text;
    var opt = document.createElement("option");
    // Add an Option object to Drop Down/List Box
    el.options.add(opt);
    // Assign text and value to Option object
    opt.text = 'ResourceID: ' + SMSUniqueIdentifier + ', Name: ' + name;
    opt.value = resourceid;
    searchReturnedResult = true;
    if( searchReturnedResult == false ) {
    alert( "Query for '" + searchString + "' didn't return any computer to make association with, please redefine your search string." );
    function makeAssociation () {
    /* Make sure that the user has selected a destination computer. */
    var el = document.getElementById("destinationComputerList");
    var selectedresourceId = el.value;
    if( selectedresourceId == '' ) {
    /* User havn't selected a computer to make association with. */
    alert('No destination computer selected' );
    } else {
    /* Call the other web service to make the association. */
    alert( 'The selected ResourceId is: ' + selectedresourceId);
    var answer = makeAssosiationWebServiceCall(selectedresourceId);
    if(answer == "True" ){
    alert("Successfully Associated Computers");
    } else {
    alert(answer + 'UnSuccessfully Associated Computers');
    function IdentifySCCMDrive()
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var drives = new Enumerator(fso.Drives);
    for(drives.moveFirst();!drives.atEnd();drives.moveNext())
    var drive = drives.item();
    if(drive.IsReady && fso.fileexists(drive.path + "\\SMS\\data\\TsmBootstrap.ini"))
    var fileContents = fso.OpenTextFile(drive.Path + "\\SMS\\data\\TsmBootstrap.ini").ReadAll();
    if(fileContents.search("MediaType=FullMedia") > -1)
    oEnvironment("SCCMDRIVE") = drive.Path;
    return drive.Path;
    function makeAssosiationWebServiceCall(dest){
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    oEnvironment("ReferenceComputerResourceId") = oEnvironment("GetResourceId");
    oEnvironment("DestinationComputerResourceId") = dest;
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\AddComputerAssociationbyID.wsf", 0, true);
    return oEnvironment("AddComputerAssociationByIDResult");
    function OnLoad()
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    document.getElementById('txtComputerNew').value = oEnvironment("OSDCOMPUTERNAME");
    var oTSProgressUI = new ActiveXObject("Microsoft.SMS.TSProgressUI");
    oTSProgressUI.CloseProgressDialog();
    GetTSVersion();
    GetUSMTVersion()
    IdentifySCCMDrive();
    populateUSMTDropList();
    if(oEnvironment("TPM_Available") == "True")
    document.getElementsByName("RefreshckBoxEnableBitLocker").item(0).disabled = false;
    document.getElementsByName("NewComputerckBoxEnableBitLocker").item(0).disabled = false;
    document.title = "The CM12 BitLocker FrontEnd HTA";
    function inpBoxUser_OnKeyUp(strCaller)
    if(oTimer != undefined)
    window.clearTimeout(oTimer);
    document.getElementById('txtUserRefresh').value = document.getElementById(strCaller).value;
    document.getElementById('txtUserNew').value = document.getElementById(strCaller).value;
    oTimer = window.setTimeout("doADCheck('" + strCaller + "')", 2000);
    function inpBoxComputer_OnKeyUp(strCaller)
    if(oTimer != undefined)
    window.clearTimeout(oTimer);
    // document.getElementById('txtComputerRefresh').value = document.getElementById(strCaller).value;
    document.getElementById('txtComputerNew').value = document.getElementById(strCaller).value;
    oTimer = window.setTimeout("doADCheck('" + strCaller + "')", 2000);
    function doADCheck(strCaller)
    strFullName = GetRealName(document.getElementById(strCaller).value);
    if (strFullName == "NOACCOUNT") {
    document.getElementById('txtUserNew').style.background = "#EC736A";
    document.getElementById('txtUserRefresh').style.background = "#EC736A";
    document.getElementById('txtUserInfoNew').innerHTML = "";
    document.getElementById('txtUserInfoRefresh').innerHTML = "";
    else if(strFullName == "SERVFAIL") {
    document.getElementById('txtUserNew').style.background = "#FFA61C";
    document.getElementById('txtUserRefresh').style.background = "#FFA61C";
    document.getElementById('txtUserInfoNew').innerHTML = "SERVER FAILURE";
    document.getElementById('txtUserInfoRefresh').innerHTML = "SERVER FAILURE";
    else
    document.getElementById('txtUserNew').style.background = "#6EC6F0";
    document.getElementById('txtUserRefresh').style.background = "#6EC6F0";
    document.getElementById('txtUserInfoNew').innerHTML = strFullName;
    document.getElementById('txtUserInfoRefresh').innerHTML = strFullName;
    if (document.getElementById(strCaller).value.length == 0) {
    document.getElementById('txtUserNew').style.background = "#FFFFFF";
    document.getElementById('txtUserRefresh').style.background = "#FFFFFF";
    document.getElementById('txtUserInfoNew').innerHTML = "";
    document.getElementById('txtUserInfoRefresh').innerHTML = "";
    function GetRealName (strUserName)
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\UserNameHelper.wsf /USERNAME:" + strUserName, 0, true);
    return oEnvironment("UserFullName");
    function GetScriptRoot ()
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    return oEnvironment("SCRIPTROOT");
    function Shutdown()
    var WShell = new ActiveXObject("WScript.Shell");
    if(window.confirm("Ok to shutdown?"))
    WShell.Run ("wpeutil shutdown",0, true);
    function Reboot()
    var WShell = new ActiveXObject("WScript.Shell");
    if(window.confirm("Ok to reboot?"))
    WShell.Run ("wpeutil reboot",0, true);
    function closeHTA()
    var WShell = new ActiveXObject("WScript.Shell");
    if(window.confirm("Ok to Exit?"))
    WShell.Run ("wpeutil shutdown",0, true);
    function commandPrompt()
    var WShell = new ActiveXObject("WScript.Shell");
    // if(window.confirm("Open Command Prompt?"))
    WShell.Run ("cmd.exe /k",1, true);
    function cmtrace()
    var WShell = new ActiveXObject("WScript.Shell");
    // if(window.confirm("Open Command Prompt?"))
    WShell.Run ("cmd.exe /k viewlog.cmd",1, true);
    function showreport()
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    alert(oEnvironment("UUID"));
    function GetSCCMAssignedSite()
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\sitecode.wsf", 0, true);
    return oEnvironment("SiteCode");
    function IsComputerKnown()
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\IsComputerKnown.wsf", 0, true);
    return oEnvironment("IsComputerKnown");
    function OUPath()
    var myVal = document.getElementById("ADOU").value;
    var outPut = "";
    switch (myVal) {
    case "1":
    outPut = "OU=Administrative,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "2":
    outPut = "OU=Development,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "3":
    outPut = "OU=External,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "4":
    outPut = "OU=IT,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "5":
    outPut = "OU=Restricted,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "6":
    outPut = "OU=Sales,OU=Workstations,DC=imo-online,DC=com";
    break;
    case "7":
    outPut = "OU=Service Computers,OU=Workstations,DC=imo-online,DC=com";
    break;
    alert(outPut);
    function GetComputerName()
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\GetComputerName.wsf", 0, true);
    return oEnvironment("GetComputerName");
    function GetResourceID()
    var WShell = new ActiveXObject("WScript.Shell");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var oExec = WShell.Run ("cscript //NoLogo " + GetScriptRoot() + "\\wnb\\GetResourceID.wsf", 0, true);
    return oEnvironment("GetResourceID");
    function getUserFriendlyBoolValue( value ) {
    if ( value )
    return "Yes";
    else
    return "No";
    function GetTSVersion()
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    sversioninfo = oEnvironment("_SMSTSPackageName");
    sHTML = "Task&nbsp;Sequence&nbsp;&nbsp;=&nbsp;&nbsp;" + sversioninfo ;
    document.getElementsByName('DivTSVersion').item(0).innerHTML = sHTML;
    function GetUSMTVersion()
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var drives = new Enumerator(fso.Drives);
    var fileContents = "Unidentified Version"
    for(drives.moveFirst();!drives.atEnd();drives.moveNext())
    var drive = drives.item();
    if(drive.IsReady && fso.fileexists(drive.path + "\\_smstasksequence\\wdpackage\\usmt\\usmt_rulesets_version.txt"))
    fileContents = fso.OpenTextFile(drive.Path + "\\_smstasksequence\\wdpackage\\usmt\\usmt_rulesets_version.txt").Read(25);
    //alert(fileContents);
    sHTML = "USMT&nbsp;RuleSet&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;" + fileContents ;
    document.getElementsByName('DivUSMTVersion').item(0).innerHTML = sHTML;
    function ShowUSMTVersion()
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    var drives = new Enumerator(fso.Drives);
    var fileContents = ""
    for(drives.moveFirst();!drives.atEnd();drives.moveNext())
    var drive = drives.item();
    if(drive.IsReady && fso.fileexists(drive.path + "\\_smstasksequence\\wdpackage\\usmt\\usmt_rulesets_version.txt"))
    fileContents = fso.OpenTextFile(drive.Path + "\\_smstasksequence\\wdpackage\\usmt\\usmt_rulesets_version.txt").Read(25);
    alert(fileContents);
    sHTML = "USMT RuleSet&nbsp;&nbsp;=&nbsp;&nbsp;" + fileContents ;
    document.getElementsByName('DivUSMTVersion').item(0).innerHTML = sHTML;
    function ShowVersion()
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    alert('Task Sequence version=' +oEnvironment("_SMSTSPackageName"));
    function populateUSMTDropList()
    var WShell = new ActiveXObject("WScript.Shell");
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    sHTML = "<option value='NULL'>No Restore</option>\n";
    sHTML = sHTML + "<option value='SMP'>SMP (Requires Computer Association)</option>\n";
    // sUsmtStorePath = "c:\\USMTStores";
    sUsmtStorePath = "\\\\sccm\\USMTStores";
    if(fso.FolderExists(sUsmtStorePath))
    var SubFolders = new Enumerator(fso.GetFolder(sUsmtStorePath).SubFolders);
    for(SubFolders.moveFirst();!SubFolders.atEnd();SubFolders.moveNext())
    var folder = SubFolders.item();
    sLabel = folder.name ;
    sValue = folder.name;
    if (folder.name.toUpperCase() != "X86" && folder.name.toUpperCase() != "X64")
    sHTML = sHTML + "<option value='" + sValue + "'>" + sLabel + "</option>\n" ;
    sHTML = "<select id='shareDropDown' name='shareDropDown'>\n" + sHTML + "</select>";
    // You need to have a <div> in your HTML with the ID and NAME of divCboList
    document.getElementsByName('divUSMTDropDown').item(0).innerHTML = sHTML;
    function buildConfirmationMessage( deploymentType, targetUser, targetComputer, dochkdsk, doBackup, doBackupNetwork, doOffline, regionValue, languageValue, BitLockervalue, ADOU, PreProvBitLockervalue, usmtvalue, AUTOComputerName, SCEPvalueRefresh, SCEPvalueNew, EnableBitLockerRefresh, ADOU, EnableBitLockerNew) {
    var arr = new Array();
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Deployment type variable: ";
    switch(deploymentType) {
    case 0:
    arr[arr.length] = "BACKUPOLD";
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do CHKDSK: " + getUserFriendlyBoolValue( dochkdsk);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do backup: " + getUserFriendlyBoolValue( doBackup);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do backupNetwork: " + getUserFriendlyBoolValue( doBackupNetwork);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do Offline: " + getUserFriendlyBoolValue( doOffline);
    arr[arr.length] = "\r\n";
    break;
    case 1:
    arr[arr.length] = "REFRESH";
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do CHKDSK: " + getUserFriendlyBoolValue( dochkdsk);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do backup: " + getUserFriendlyBoolValue( doBackup);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Do backupNetwork: " + getUserFriendlyBoolValue( doBackupNetwork);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Target user: " + targetUser;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "AUTO-ComputerName: " + getUserFriendlyBoolValue( AUTOComputerName);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Enable SCEP: " + getUserFriendlyBoolValue( SCEPvalueRefresh);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "EnableBitLockerRefresh: " + getUserFriendlyBoolValue( EnableBitLockerRefresh);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "ADOU: " + getUserFriendlyBoolValue( ADOU);
    arr[arr.length] = "\r\n";
    break;
    case 2:
    arr[arr.length] = "NEWCOMPUTER";
    arr[arr.length] = "\r\n";
    arr[arr.length] = "RegionValue: " + regionValue;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "LanguageValue: " + languageValue;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Target user: " + targetUser;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Target computer: " + targetComputer;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "AUTO-ComputerName: " + getUserFriendlyBoolValue( AUTOComputerName);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Enable SCEP: " + getUserFriendlyBoolValue( SCEPvalueNew);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "EnableBitLockerNew: " + getUserFriendlyBoolValue( EnableBitLockerNew);
    arr[arr.length] = "\r\n";
    arr[arr.length] = "BitLockerdropdown: " + BitLockervalue;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "\r\n";
    arr[arr.length] = "Pre-Provision BitLocker: " + PreProvBitLockervalue;
    arr[arr.length] = "\r\n";
    arr[arr.length] = "USMTdropdown: " + usmtvalue;
    arr[arr.length] = "\r\n";
    break;
    return "Please make sure your selections are ok before proceeding.\nYour Choices:-\n" + arr.join('');
    function Proceed(actionToPerform) {
    var deploymentType = '';
    var targetUser = '';
    var targetComputer = '';
    var dochkdsk = '';
    var doBackup = '';
    var doBackupNetwork = '';
    var AUTOComputerName = '';
    var EnableBitLockerRefresh = '';
    var ADOU1 = '';
    var EnableBitLockerNew = '';
    var doOffline = '';
    var regionValue = '';
    var languageValue = '';
    var BitLockerValue = '';
    var PreProvBitLockerValue = '';
    var SCEPvalueRefresh = '';
    var SCEPvalueNew = '';
    var SCEPvalue = '';
    var usmtvalue = '';
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    // Extract the values.
    switch (actionToPerform) {
    case 'Backup':
    // alert( 'You have chosen Backup.');
    deploymentType = 0;
    dochkdsk= document.getElementById('ckchkdsk').checked;
    doBackup= document.getElementById('ckBoxFullBackup').checked;
    doBackupNetwork= document.getElementById('ckBoxFullBackupNetwork').checked;
    doOffline= document.getElementById('ckBoxDoOffline').checked;
    break;
    case 'Reinstall':
    // alert( 'You have chosen Reinstall.');
    deploymentType = 1;
    dochkdsk= document.getElementById('Refreshckchkdsk').checked;
    doBackup= document.getElementById('RefreshckBoxFullBackup').checked;
    doBackupNetwork= document.getElementById('RefreshckBoxFullBackupNetwork').checked;
    doOffline= true;
    if(document.getElementById('txtUserRefresh').value)
    targetUser = document.getElementById('txtUserRefresh').value;
    else
    targetUser = "EMPTY";
    // targetUser = document.getElementById('txtUserRefresh').value;
    AUTOComputerName= document.getElementById('RefreshckBoxAUTO-ComputerName').checked;
    SCEPvalue= document.getElementById('SCEPckBoxRefresh').checked;
    EnableBitLockerRefresh= document.getElementById('RefreshckBoxEnableBitLocker').checked;
    ADOU= document.getElementById('ADOU').checked;
    break;
    case 'Newcomputer':
    // alert( 'You have chosen New computer.');
    deploymentType = 2;
    var regionDrop = document.getElementById('regionDropDown');
    var languageDrop = document.getElementById('languageDropDown');
    var BitLockerDrop = document.getElementById('BitLockerDropDown');
    var usmtdrop = document.getElementById('shareDropDown');
    // added code to give targetUser a value if none entered
    if(document.getElementById('txtUserNew').value)
    targetUser = document.getElementById('txtUserNew').value;
    else
    targetUser = " ";
    // added code to give targetComputer a value if none entered
    if(document.getElementById('txtComputerNew').value)
    targetComputer = document.getElementById('txtComputerNew').value;
    else
    targetComputer = oEnvironment("OSDCOMPUTERNAME");
    //AUTOComputerName = document.getElementById('ComputerNewckBoxAUTO-ComputerName').checked;
    SCEPvalue= document.getElementById('SCEPckBoxNew').checked;
    EnableBitLockerNew = document.getElementById('NewComputerckBoxEnableBitlocker').checked;
    BitLockerValue = BitLockerDrop.options[BitLockerDrop.selectedIndex].value;
    ADOU1 = ADOU.options[ADOU.selectedIndex].value;
    PreProvBitLockerValue = document.getElementById('ckBoxPreProvBitLocker').checked;
    usmtvalue = usmtdrop.options[usmtdrop.selectedIndex].value;
    break;
    default:
    // keep the values case sensitive !! If no type, Backup, Reinstall or New computer image is selected, the click on the Proceed
    // image will excute this section (between default: and break;. Keep it clear but DON'T remove the break.
    // alert("'" + actionToPerform + "' isn't a valid selection.");
    return;
    break;
    // Ask user if the values are ok to proceed with.
    if(window.confirm( buildConfirmationMessage(deploymentType, targetUser, targetComputer, dochkdsk, doBackup, doBackupNetwork, doOffline, regionValue, languageValue, BitLockerValue,PreProvBitLockerValue, usmtvalue, AUTOComputerName, SCEPvalue, SCEPvalue, ADOU, EnableBitLockerRefresh, EnableBitLockerNew) ) ) {
    var oEnvironment = new ActiveXObject("Microsoft.SMS.TSEnvironment");
    window.moveTo(2000,2000);
    var WShell = new ActiveXObject("WScript.Shell");
    switch(deploymentType) {
    case 0 :
    oEnvironment("DEPLOYMENTTYPE") = "BACKUPOLD";
    oEnvironment("DOCHKDSK") = dochkdsk;
    oEnvironment("DOBACKUP") = doBackup;
    oEnvironment("DOBACKUPNETWORK") = doBackupNetwork;
    oEnvironment("DOOFFLINE") = doOffline;
    break;
    case 1:
    oEnvironment("DEPLOYMENTTYPE") = "REFRESH";
    oEnvironment("DOCHKDSK") = dochkdsk;
    oEnvironment("DOBACKUP") = doBackup;
    oEnvironment("DOBACKUPNETWORK") = doBackupNetwork;
    oEnvironment("TARGETUSER") = targetUser;
    oEnvironment("DOOFFLINE") = doOffline;
    oEnvironment("AUTOComputerName") = AUTOComputerName;
    oEnvironment("SCEPvalue") = SCEPvalue;
    oEnvironment("EnableBitLockerRefresh") = EnableBitLockerRefresh;
    oEnvironment("ADOU1") = ADOU;
    break;
    case 2 :
    oEnvironment("DEPLOYMENTTYPE") = "NEWCOMPUTER";
    oEnvironment("RegionValue") = regionValue;
    oEnvironment("LanguageValue") = languageValue;
    oEnvironment("TARGETUSER") = targetUser;
    oEnvironment("OSDCOMPUTERNAME") = targetComputer;
    oEnvironment("AUTOComputerName") = AUTOComputerName;
    oEnvironment("SCEPvalue") = SCEPvalue;
    oEnvironment("EnableBitLockerNew") = EnableBitLockerNew;
    oEnvironment("BitLockerValue") = BitLockerValue;
    oEnvironment("PreProvBitLockerValue") = PreProvBitLockerValue;
    oEnvironment("uddir") = usmtvalue;
    break;
    if(oEnvironment("_SMSTSMEDIATYPE") && oEnvironment("_SMSTSMEDIATYPE") == "FullMedia") {
    oEnvironment("OSDStateStorePath") = oEnvironment("SCCMDRIVE") + "\\DiskBackups";
    window.setTimeout('window.close()', 2000);

    FYI,  here is my INI that I'm referencing via a Gather step.
    [MoveComputerToOU]
    ;OUPath must be specified prior to calling webservice.
    WebService=http://cm01.corp.viamonstra.com/WebService/ad.asmx/MoveComputerToOU
    Parameters=ComputerName,OUPath
    OSDComputerName=ComputerName
    I think including all of your code is throwing people off.  If you verified that your HTA is populating the desired variable like it should, then the above code is irrelevant.  Its probably something your doing in that INI.  I'd suggest adding
    a pause and just trial and erroring changes to the INI til you get the desired results.  Thats what I did.
    -BrianG (http://supportishere.com)

  • How to enable visio file (.vsd) preview in sharepoint 2013

    I enabled visio service, but when I click a vsd file in document, it is not show online, just download it.
    Awen

    As per my understanding SharePoint will not open .VSD files in browser. If you are using Visio 2013 then save those files as .VSDX and SharePoint 2013 will open those files in Browser or you can save your Visio file as Web Drawing (.VDW) and they should
    open in browser as well.
    Amit

  • How to enable TIF file preview?

    Hi
    I want to see Tif files preview like Jpeg files in my doc.
    How I can do that?
    Thanks

    Hi Entezari,
    Thanks for posting your query, If you use a picture library or asset library instead of a document library for your tiff's SharePoint will automatically generate a preview image for your tiff. Then you will be able to click on the enlarged versions of the tiff
    directly in the browser. You can also upload the dwg files in a picture library or asset library.
    Also, browse below mentioned URLs for more details on this
    http://weblogs.asp.net/bsimser/tiff-images-picture-libraries-thumbnail-generation-and-sharepoint
    http://www.equilibrium.com/eq-software/mediarich-for-sharepoint/mediarich-for-sharepoint-at-work/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to  exclude the file during tar

    hi,
    i hav directory called 'kesdlmsweb.war' in that i hav many sub directory and file.now i want to tar the whole 'kesdlmsweb.war' excluding one directory in that 'kesdlmsweb.war' the name of that directory to be excluded is 'courseimports'.so can any one help me how to tar this excluding that file name.its really very urgent plz reply me.
    thanks in advance.

    You must review:
    man tar
    in yor system for local options
    In google (man tar): http://web.cse.msu.edu/cgi-bin/man2html?tar
    Exists option X, to exclude some directories.
    Something like:
    tar cvf - dir_to_include X dir_to_exclude > output_file.tar
    Message was edited by:
    asturbcn

  • How to deploy Office PlugIns during OSD Task Sequence?

    I have two application packages that I need to install after Office 2013. I've tried adding them after Office 2013, but they won't install. I'm getting error 80004005. What's the best practice for installing plugins?

    Jeff,
    It looks like one of the Addins requires UAC be turned off. I've added that as a command line and setup a restart after that in the TS. Then I added the AddIn application to the TS. It's erroring out with 80004005 while I can see the screen in the background
    say "Setup is preparing your computer for the first time." For the reboot I've specified it to use the existing OS.
    What's the best way to get UAC turned off, reboot then install the AddIn? 
    It will not require UAC, if you run your command promt as admin, which will be opened at c:\Windows\System32
    Also, code 80004005 is very generic, and does not reveal nothing. You will see at Appenforce.log what´s really happening, also smsts.log. Event viewer is also helpful.

  • Query on oracle dump file

    Hi All ,
    I have a question on Oracle Dump file . Is there a way to know how many objects got exported into the dump file during expdp . How do we know what are the objects which got exported and which dint get exported during a full export of a DB .
    Thanks.

    Hi All ,
    I guess i wasnt more elaborate ...
    yeah i understand that log file will give me details of objects exported . log files gives me the list of tables exported , but objects index, procedures, packages , synonyms , views are all done in a group , it just says exported indexes , it will not show me which indexes got exported right ? ... SO i want to know about each and every object which got exported .
    I hope i m clear now .
    Edited by: user8715306 on Feb 10, 2010 3:00 AM

  • ORA-31619: invalid dump file "D:\oracle-export\mitest-19-05-2009.dmp"

    HI
    I have took logical backup (export) on linux and import (windows 2003 server).
    export command:
    $expdp miqa/miqa schemas=miqa directory=backup_dir CONTENT=all dumpfile=miqa-`date +%d-%m-%Y`.dmp CONTENT=all logfile=miqa-`date +%d-%m-%Y`.log'
    when i import on windows 2003 server i am getting the following error
    grant create any directory to rnddb;
    create or replace directory backup_dir as 'd:\export';
    GRANT READ, WRITE ON DIRECTORY backup_dir TO rnddb;
    c:\>impdp rnddb/rnddb directory=backup_dir dumpfile=mitest-19-05-2009.dmp SCHEMAS=mitest REMAP_SCHEMA=mitest:rnddb CONTENT=all logfile=mitest-19-05-2009.log
    I am getting the following error.
    Import: Release 10.1.0.2.0 - Production on Wednesday, 17 June, 2009 14:45
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produ
    tion
    With the Partitioning, OLAP and Data Mining options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31619: invalid dump file "D:\oracle-export\mitest-19-05-2009.dmp"
    pls could you help me where i done mistake.
    Thanks
    Settu Gopal

    ORA-31619:     invalid dump file "string"
    Cause:      Either the file was not generated by Export or it was corrupted.
    Action:      If the file was indeed generated by Export, report this as an Import bug and submit the export file to Oracle Customer Support.
    How was the dump file transferred between Linux and Windows server?

  • Enable AFP File Sharing via ARD through command line?

    Anyone know how to enable AFP file sharing on a remote Leopard client using ARD? I had been sending Unix Commands to do most of my changes, but cannot figure out how to enable AFP file sharing through a unix command. I've tried running /usr/sbin/AppleFileServer but that doesn't seem to do the trick. Any ideas?

    Howdy, Space Ranger!
    I'd recommend checking out the following documentation to get filesharing going without interrupting a current user.
    Apple Remote Desktop Administrator’s Guide
    http://images.apple.com/remotedesktop/pdf/ARD3_AdminGuide.pdf
    Page 145:
    Executing a Single UNIX Command
    Using the UNIX Command window, you can send a single command to the selected
    client computers. The command is executed using the bash shell.
    To execute a single UNIX command:
    1 Select a computer list in the Remote Desktop window.
    2 Select one or more computers in the selected computer list.
    3 Choose Manage > Send UNIX Command.
    4 Type or paste the command.
    If your command is a multi-line script, enter each command on its own line. If you want
    to break up a single-line command for better readability, use a backslash (\) to begin a
    new line.
    5 Set the permissions used to execute the command.
    You can choose the currently logged-in user, or choose the name of another user on
    the client computers.
    6 Click Send.
    For information regarding Terminal commands that can be useful (this is for 10.3 and later, but the relevant command does work in 10.8):
    Mac OS X Server Command-Line Administration
    http://manuals.info.apple.com/en_US/MacOSXSrvr10.3_CommandLineAdminGuide.pdf
    Page 65:
    Commands you can use to create share points and manage AFP, NFS, Windows (SMB), and FTP services in Mac OS X Server.
    Share Points
    You can use the sharing tool to list, create, and modify share points.
    Best regards,
    Allen

Maybe you are looking for

  • IPad no longer syncs with iTunes

    IPad no longer syncs with iTunes it comes up with error message stating I do not have the required access? I always used to be able to, so what has happened and how can I correct it?

  • How or where can I download an older version of Adobe Elements 11

    How or where can I download an older version of Adobe Elements 11 and Premere Elements ? I have a purchased serial Thank you

  • OS update 2.1.0.1032 now my wifi connection doesn't work properly HELP

    My wifi worked perfectly until the recent OS update.  Now I can only get a connection to last for minutes before it stops working.  The green wifi signal will show but it won't actually work.   Is there anything I can do?  Try to reload the OS update

  • Business Packages for CRM 2006s (5.2)

    We are on CRM 2006s (5.2) and aside from the Best Practice (BP) for CRM 5.2 (v1.52) where can I download Business Packages for CRM 2006s (5.2)? Regards, James

  • Remove Outlook

    OK, i am ready to severe all ties to my older life. Can anyone tell me how to remove Outlook for Mac from my computer? Probably will do same with Excel, Word and Powerpoint. Might as well start using Numbers, Pages and Keynote.