Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all 11297 articles
Browse latest View live

(Err): 70: CreateObject(Microsoft.BDD.Utility) - Permission denied]

$
0
0

HI All,

  I have a Application to install but MDT failed with above error.

Also left the MININT and _TAskSequence folder in D Drive ( I have format OS and Data)

As


Windows 8 Start Screen Customization for All Users

$
0
0

Short Versions:

    • How can I permanently remove (and prevent automatic re-installation of) some of the default Packaged Applications installed on Windows 8 Pro?
    • How can I save a customized tile arrangement?

    Long Version:  I'm configuring a semi-automated testing system using MDT2012 to install Windows 8 to multiple hardware configurations.  I would like to be able to remove all of the default applications except for the Desktop, and Internet Explorer.  I would like to add applications such as the Command Prompt, and Notepad.  Ideally, I would be able to group the tiles in various ways, capture the configuration, and push it to all of the automatically generated accounts so that we get a standard layout when testing with a User Account, a Guest Account, and/or an Administrator account.

    Windows 7 and Vista have both been working perfectly for over a year (with MDT2010), and I've managed to update them to work with MDT2012 without too much trouble.  I've gotten all of the custom configurations to work, through various means (some scripting, some unattended settings, some task sequence editing, some extensions for the MDT, etc.), however there is one remaining set of configurations that eludes me.  The Start Screen.

    So far, I have tried running a PowerShell script to perform the Remove-AppxProvisionedPackaged during the Audit-User phase, running sysprep /generalize, and capturing the system to a WIM (both with, and without the CopyProfile setting), and I'm able to get most of the user settings, the exceptions being the Start Screen, and the default view of the various folders.  I work around the latter by exporting/importing the Bags registry settings into the default user account; however the former has completely eluded me.  I have also tried configuring group policy settings; however those only work with the Enterprise edition (which isn't what our customers will be using, so changing the SKU isn't an option).

    MININT and _SMSTaskSequence folders on the D drive.

    $
    0
    0

    Hi all,

      I Have create the two partitions and move the user profile to D dive.  This was working fine and found some pc's not applying the GPO so i check deep and noticed that Profile was not moved to D drive or MDT 2012 not completed.

    I can see above folders are in D drrive.  there are some entries in BDD.log with todays date? this pc was build last year.

    So how do we fix these pc's and why GPO not running any startup scripts?  

    As

    famous deployment failure ifM63x64.sys

    $
    0
    0

    Hello,

    I am deploying Lenovo x220 laptop using MDT2012.

    My LiteTouchPE_x64.wmi placed on different server with PXE.

    I have no problem with capturing OS from Lenovo X220.

    The problem comes after image deployment's first reboot.

    Windowsfailed to start.A recenthardwareofsoftwarechange mightbethecause.
        File:ifM63x64.sys
        Status:0xc0000098
        Info:Windowsfailed to loada requiredfileBecauseis missingor corrupt.

    I read the great thread for the problem resolution:

    https://social.technet.microsoft.com/Forums/en-US/e6aa8df3-2e30-45e2-945b-db2b9152ce6c/error-to-deploy-ethernet-driver-with-mdt-2012?forum=mdt

    Unfortunately, I can not solve the problem and after multiple trials want to ask for help...

    1. I disabled Lenovo's net drivers. Did search on Deployment share for ifM63x64.sys.

    It not present in Out of Box Drivers. So I regenerated Boot image and replaced the previous one on PXE server. No luck.

    I guess my problem is that the mentioned driver sits in the BOOT image.

    If I am thinking right how to proceed? Do I have to mount my LiteTouch and look for FAULTY driver in it. Or other methods?

    Please elaborate...

    Thanks.


    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

    Administrator Auto Login issue

    $
    0
    0

    Hopefully this will be a simple fix, but so far I cant figure out why MDT is doing this. When I image a computer, it will do everything correct, but in the automation when it tries to auto login to the administrator account to finish the tasksequence, it tells me that .\administrator password is incorrect. I  click cancel, input the password (yes I have verified that it is correct in the unattend.xml), and then it works but not accepting when automating the process.

    <AutoLogon>

    <Enabled>true</Enabled>

    <UserName>Administrator</Username>

    <Password>

    <value>(my password) </value>

    <plainText>false</PlainText>

    <logoncount>999</Logoncount>

    </password>

    </autologon>

    MDT Failure 5496

    $
    0
    0

    Hi all,

    We have 2 Dell OptiPlex 7010. PCs. We would like to deploy Windows 8.1 OS on both of them. We use offline USB media.

    The deployment is on the first PC installation successful but on the second machine is always wrong.

    We got Failure 5496 ( LoadControlFile.FindFile allications.xml ) error.

    Thanks,

    KA

    Modify MDT wizard to automate computer naming

    $
    0
    0
    Situation:

    I am imaging new systems using MDT Lite-Touch. I am trying to customize the wizard to automate the naming of new systems so that they include a prefix "AG-", a department code which is selected from a drop-down box in the wizard page (eg. "COMM"), and finally the serial number of the computer being imaged, so that my result in this case would be "AG-COMM-1234567"

    Status:

    I have banged away at this for a while but my Google searches have not turned up answers, my trial-and-error is not producing useful error messages and I think I am missing some fundamentals of how to get variables from the wizard page into the variables used by the lite-touch wizard.

    Progress:

    1. I first created the HTML page which I will include below and added a script to the page to concatenate the pieces into a variable called OSDComputername which, for testing, I could output in a msgbox and get to display correctly.

    * The problem with this is I don't know how to trigger the script then assign it to the OSDComputername variable that is used throughout the rest of the Light-Touch process.
    2. I changed the script to a function and added it to DeployWiz_Initization.vbs then used the Initialization field in WDS to call it. I'll include the function below.


    * The problem with this is I would get "Undefined Variable" for OSDComputername and I am not sure it is pulling the data from the HTML correctly.

    3 . I tried adding variables to "Properties=" (eg.DepartmentName) in the customsettings.ini, pulling thier value from the HTML Form and setting that value to the variable in my function in DeployWiz_Initization.vbs and calling them after "OSDComputername=" in the fashion "OSDComputername="AG-" & %DepartmentName%" in customsettings.ini

    * This resulted in errors from my script which did not correctly access the new variables

    4. I now have my code working. It is pulling the data from the HTML and setting the OSDComputername environment variable. I have updated the code below to match the working code. It is firing correctly and setting my computer name and description exactly as I wanted it to.

    * Issue Resolved!

    The HTML page:

    <H1>Configure the computer name.</H1>
    <p>Please answer the following questions.  Your answers will be used to formulate the computer's name and description.</p>

    <FORM NAME="SetComputerNameForm">
        <p>
            <LABEL class="Larger"><u class="Larger">D</u>epartmental Prefix:</LABEL><br />
            <SELECT NAME="DepartmentalPrefix_Edit" ID="DepartmentalPrefix_Edit" language=vbscript onpropertychange=ValidateSetComputerName AccessKey=D>
                <option value="FOO">FOO</option>
                <option value="DOE">DOE</option>                
            </SELECT>
        </p>

        <p>
            <LABEL class="Larger"><u class="Larger">C</u>lient's ID:</LABEL>
            <br />
            <INPUT NAME="ClientID" ID="ClientID" TYPE="text" ID="ClientID" SIZE="15" language=vbscript onpropertychange=ValidateSetComputerName AccessKey=C />
            <label class=ErrMsg for=ClientID>* Required (MISSING)</label>


        </p>

        <p>
            <LABEL class="Larger"><u class="Larger">B</u>uilding:</LABEL><br />
            <SELECT NAME="Building_Edit" ID="Building_Edit" language=vbscript onpropertychange=ValidateSetComputerName  AccessKey=B>
                    <option value="ASA">ASA</option>
                    <option value="ASB">ASB</option>
            </SELECT>
        </p>

        <p>         
            <LABEL class="Larger"><u class="Larger">R</u>oom Number:</span></LABEL>
            <br />
            <INPUT NAME="RoomNumber" ID="RoomNumber" TYPE="text" ID="RoomNumber" size="15" language=vbscript onpropertychange=ValidateSetComputerName AccessKey=R>
            <label class=ErrMsg for=RoomNumber>* Required (MISSING)</label>
        </p>

    </FORM>

    The Function:

    Function ValidateSetComputerName
        ParseAllWarningLabels

        If Len(Document.SetComputerNameForm.ClientNetID.Value) < 1 OR Len(Document.SetComputerNameForm.RoomNumber.Value) < 1 THEN
            ButtonNext.disabled = true
        Else
            Dim Department
            Dim SerialNumber
            Dim CID
            Dim RoomNumber
            Dim BuildingName
            Dim Make
            Dim Model
            Department = Document.SetComputerNameForm.DepartmentalPrefix_Edit.Value
            SerialNumber = oEnvironment.Item("SerialNumber")
            CID = Document.SetComputerNameForm.ClientID.Value
            RoomNumber = Document.SetComputerNameForm.RoomNumber.Value
            BuildingName = Document.SetComputerNameForm.Building_Edit.Value
            Make = oEnvironment.Item("Make")
            Model = oEnvironment.Item("Model")

            oEnvironment.Item("OSDComputerName") = "AG-" & Department & "-" & Right(SerialNumber,7)
            oEnvironment.Item("ComputerDescription") = Department & ", " & CID & ", " & RoomNumber & " " & BuildingName & ", " & Make & " " & Model
            ButtonNext.disabled = false
        End If

    End Function

    WinPE 5 802.1x Support with SCCM 2012 R2

    $
    0
    0

    Please see updated information a few posts down.

    I am trying to get 802.1x support working to deploy windows 7-8 machines using MDT2012.  I have checked IEEE 802.1x network authenication protocol under features of the deployment share properties.  I am trying to follow the guide on the deploymentguys. I have my files on the boot image and can do a net start dot3svc, we are not using certificates at the moment for our 802.1x so I am skipping that line.  doing a netsh lan add profile filename="X:\8021x\ Local Area Connection.xml " interface="Ethernet2" does work.  I am having a problem with the third step when I run the following command netsh lan set eapuserdata filename=x:\8021x\Wired-WinPE-UserData-PEAP-MSChapv2.xml allusers=yes interface="Ethernet2"  All i get is error setting user data for interface ethernet2, the operation is not supported.

    How does one get 802.1x working in WinPE 4.0?

    Heres the latest updated in this first post so you dont have to scroll way to the bottom to get the latest relevant information:

    So here's the current situation and hopefully someone has seen it before.

    My boot image has the prestart command set to x:\8021x\configure8021x.cmd.  If i make a USB boot media this command will run and work with an 8021x wire plugged in.  If I PXE boot with a non8021x wire plugged in this command will run.  If I PXE Boot with an 8021x wire plugged in it does not run the command.  If the boot image gets staged from the windows software center it also will not run my command.

    Does anyone know why the staged boot image and booting from PXE are not running my prestart command?  It seems that during PXE and staged boot that the network initializes BEFORE it runs any prestart commands?



    Custom USMT xml files to backup and restore Firefox and Chrome

    $
    0
    0

    I found lots of old suggestions on getting Firefox to backup but the part that bugged me the most was that it went against Microsoft's suggestion of not modifying the original xml files. For good reason too, because they could be replaced and you would lose your customizations. I also found that the suggestions didn't work because of changes in the newer versions of Firefox. Below I will post the code that works with new versions of Firefox, hopefully it will help others.

    Now if anyone knows how to get Chrome to work, I'd appreciate that. I'm working on it, but no need to reinvent the wheel if someone has working code already.

    This is just the firefox section, it will not work if you only save this code without the required xml and migration tags.

    Note: As best as I could tell the lastest version of Firefox writes to HKLM\Software\Mozilla\Mozilla Firefox\*.*\Main and not to bin where the previous code was looking.

    <!-- Mozilla Firefox --><component context="UserAndSystem" type="Application"><displayName>Firefox</displayName><environment name="GlobalEnv"/><environment name="GlobalEnvX64"/><paths><path type="File">%CSIDL_APPDATA%\Mozilla\Firefox\</path></paths><role role="Settings"><detection><conditions><condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Mozilla\Mozilla Firefox *.*\bin [PathToExe]")</condition><condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Mozilla\Mozilla Firefox\*.*\Main [PathToExe]")</condition></conditions></detection><rules context="User"><destinationCleanup><objectSet><pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\*\Cache\* [*]</pattern></objectSet></destinationCleanup><include><objectSet><pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern><pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\* [*]</pattern></objectSet></include><exclude><objectSet><pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\Crash Reports\* [*]</pattern><pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\Profiles\*\ [pluginreg.dat]</pattern><pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\*\Cache\* [*]</pattern></objectSet></exclude><merge script="MigXmlHelper.SourcePriority()"><objectSet><pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern><pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\* [*]</pattern></objectSet></merge></rules></role></component>


    If this post is helpful please vote it as Helpful or click Mark for answer.


    MDT Media deployent via USB Question (issue)

    $
    0
    0

    Ok I have performed Media deployment via USB thumbdrive many times over the years, so I must be overlooking something this time. Here is the what is happening:

    Performing a refresh via USB executing Litetouch.vbs from the deploy\scripts folder on the USB thumbdrive. Scanstate runs and saves the data using hardlinking.(works perfect)

    Then the client reboots into WINPE and then when the deployment should pick backup I see the message"Please reinsert themedia (CD, DVD, or USB) needed to complete thedeployment." While the USB drive is still plugged in I hit ok on the missing media message screen and it does nothing.

    If I hit F8 and check to see if the USB drive is present I find out it is not.

    But If I simply reboot the client it succesfuly picks back up and completes the deployment. My Brootstrap.ini contains the following as required for USB media deployment:

    [Settings]

    Priority=Default

    [Default]
    SkipBDDWelcome=YES

    So the question is why do I get the "Please reinsert themedia (CD, DVD, or USB) needed to complete thedeployment




    setting KMS client key in MDT

    $
    0
    0

    where exactly in MDT, Windows KMS client key should be entered?

    Thx.


    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis


    MDT 2013 - Concatenate command lines in an application?

    $
    0
    0

    Total noob to MDT. Have a few years experience with SCCM. My ongoing project is to create bootable media (DVD's only, no USB allowed...) to rebuild seats not attached to our network.

    I know one can concatenate command lines in SCCM task sequence steps... wondering if I can do so in applications too?

    Example:

    Create application BlahBlah

    Dir structure is:

    \BlahBlah

    \BlahBlah\A

    \BlahBlah\B

    The application will point to \BlahBlah as the source dir

    In the application command line, will this command work?

    "xcopy .\A\*.* c:\temp\BlahBlahA /E /Y & xcopy .\B\*.* c:\temp\BlahBlahB /E /Y"

    TIA,

    Lang

    disabling Out of box items

    $
    0
    0

    would folder disabling in Out of box disable a driver/s?

    Ex. :  If "PC MODEL" folder in example below is disabled all video and Network Driver will be disabled. Or if I disable Video folder, only Video driver will be disabled. True?

    In other words to disable driver it is enough to disable driver folder only and not driver itself?

    I think it should be right...

    Out of box

           |

      PC MODEL

           Drivers

               Video

               Network


    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

    Backup and Restore Printers

    $
    0
    0

    Hi All

    When end users get a new machine I need to automate the moving of printers from their old system to the new

    I have tried for 2 weeks now with printbrm.exe with no success

    I need somthing that can save the printers to a file whiuch I can use on the destination system

    The machine architeture will be 32bit on the source and destination and its fine if only the print queue is saved for migration as they can pull their drivers down from the server again afterwards.

    Id imagined this would be simple bust just cant find anything

    Id be grate for any pointers or help

    Thanks

    Confuseis


    confuseis

    Limits to Bootstrap.ini Customization Options

    $
    0
    0

    While I cannot find the documentation to support this, I remember reading somewhere that the bootstrap.ini was not nearly as customizable as customsettings.ini.  It essentially just supported the Default and DefaultGateway if one chose to use it.

    Is this true?

    If not, where can I find documentation that might detail the limits of bootstrap.ini customization?

    1. Can I add Properties? Property=SomeProp1,SomeProp2,etc.
    2. Can I define multiple sections? Priority=Step1,Step2,DefaultGateway,Step3,Default,etc.
    3. Does Bootstrap support Subsection?
    4. Etc.

    Is there anything inherently wrong with a configuration like this?

    [Settings]
    Priority=Default,DefaultGateway
    
    [Default]
    DeployRoot=\\f.q.d.n\dfs\DeploymentShare
    UserID=someuserid
    UserDomain=somedomain.com
    UserPassword=somepassword
    SkipBDDWelcome=YES
    
    [DefaultGateway]
    ; OFFICE1
    192.168.1.1=OFFICE1
    192.168.10.1=OFFICE1
    192.168.100.1=OFFICE1
    
    ; OFFICE2
    192.168.2.1=OFFICE2
    192.168.20.1=OFFICE2
    192.168.200.1=OFFICE2
    
    ...
    ; OFFICEn
    1.1.1.1=OFFICEn
    1.1.2.1=OFFICEn
    1.1.3.1=OFFICEn
    
    [OFFICE1]
    DeployRoot=\\OFFICE1.f.q.d.n\deploymentshare
    KeyboardLocale=en-US
    
    [OFFICE2]
    DeployRoot=\\OFFICE2.f.q.d.n\deploymentshare
    KeyboardLocale=en-US
    
    ...
    
    [OFFICEn]
    DeployRoot=\\OFFICEn.f.q.d.n\deploymentshare
    KeyboardLocale=en-US



    Can applications run or install in Windows PE?

    $
    0
    0

    I'm trying to create a Windows 8.1 image for a tablet.  To make the image work for multiple computer models, I tried adding a WMIC query to filter the drivers by model.   However, it fails and crashes to the red screen when I try to use it.  It appears that WMI queries do not work on this system unless you install the "WMI Provider" application.  This is an EXE installer.  I tried importing the driver files in the application folders, but it still failed to work.

    The deployment guide for the tablet says: 

    "If BIOS access via WMI is needed when in a WinPE environment, the HP ElitePad 1000 WMI Provider needs to be installed or
    added to the boot image prior to any WMI access. See the HP ElitePad 1000 WMI Provider documentation for details on
    setup and usage."

    However the "documentation" is not helpful.  It basically is only a readme text file that says click on the setup file and follow the prompts.

    Can exe based applications be installed in a WinPE 5.0 environment?

    Is there another way to do this so I don't have to have a separate task sequence for each model of computer using this Windows 8.1 image?

    MDT 2013 with UEFI enabled system.

    $
    0
    0

    Ive been trying to create a reference image for an optiplex 790 with uefi turned on, everytime i go start the process after the OS install portion i get errors in the task sequence:

    Failure (5615) false: boot drive was not found, required?

    it fails to run the action: install operating system.

    is there something im missing in the task sequence to make this work. Ive read everywhere that if i have the task sequence set to GPT or even MBR that MDT will know if its a uefi bios and should work.  I am using a hard drive that used to have an MBR not sure if that is the reason.  Any help would be appreciated. Thanks

    Opt In to CEIP and WER

    $
    0
    0
    In the commandline of this task I see /CEIP:YES /WER:YES . I thought changing both to NO will allow me to opt out but this doesn't seem to be working in my case. Does anyone know a way of getting this done?

    yaro

    MDT 2013 SysPrep And Capture TS Not Working

    $
    0
    0

    Can someone tell me what I'm doing wrong?  I just cleaned installed Server 2012 R2, Windows 8.1 ADK, MDT 2013.  Everything is working fine from a server standpoint, I can PXE boot in the WinPE enviroment, ect.  I then created my VM of Windows 7 (Audit Mode), disabled system restore, disabled UAC, made some view tweaks, installed all updates, deleted the fax/xps printers, and just a few other minor tweaks.  I created my TS to sysprep and capture, then within windows 7 went to run, typed \\wds\deploymentshare$. Navigated to the scripts section, ran litetouch.vbs, it processed rules ect, typed in my credentials, saw my capture/sysprep TS, nothing out of the ordinary compared to MDT 2010 or MDT 2012.

    My problem is as soon as I run my sysprep and capture TS, it starts, but within like 5 seconds it finishes.  No logs, no minnit folder, no errors, nothing.  Everything finishes as if it's completed.  I checked the Panther folder to see if anything is going on, nothing.  I checked the TEMP folder in windows and see my logs and everything I'm looking at almost shows as being successful.  It is not executing sysprep and booting into the PE enviroment to capture my WIM.  Is there somthing I'm doing wrong?  My rules are exactly as they were in MDT 2010, and MDT 2012. 

    Thank You.

    Deployment Workbench MMC Error

    $
    0
    0

    Problem,

    I am getting MMC console error while opening deployment Workbench at few locations.

    Error:

    MMC has detected an error in a snap-in and will unload it

    FX:-{ffb8695a-66b4-4929-abb6-15cb8bd2ae3d}

    Type 'Microsoft.BDD.Workbench.WrapperException' in assembly

    Exception type:

      System.Runtime.serialization.SerializationException

     

    Thanks in Advance

    Dinesh Vinay


    Thanks & Regards, Dinesh Sundaram
    Viewing all 11297 articles
    Browse latest View live




    Latest Images