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

Help with custom code in ZTIGather.wsf

$
0
0

To pick up WMI "version" info to deal with Lenovo computer models I found this code and integrated it by adding these lines to ZTIGather.wsf:

ABout line 542:

oEnvironment.Item("LenovoModel") = sLenovoModel

About line 383

'/////////////////////////////////////////
        ' Get the Lenovo Model Version from the Win32_ComputerSystemProduct class
        ' Siva Mulpuru | 10:30 PM Monday, February 14, 2011        
        Set objResults = objWMI.ExecQuery("select * from Win32_ComputerSystemProduct")
        For Each objInstance In objResults
            sLenovoModel = objInstance.Version
        Next
        if sLenovoModel = "" then
            oLogging.CreateEntry "Unable to determine LenovoModel tag via WMI.", LogTypeInfo
        End if
'///////////////////////////////////////////

The code works as intended, and appears to present no problems when imaging from a USB stick, however, when running a standalone image media or trying to launch the wizard from LiteTouch.wsf, the wizard starts and hangs on the initialization step.

If I remove the additional code from ZTIgather.wsf the issue disappears. Looking at the code, does anyone have any ideas?

sd


KB2919355 Failing to install

$
0
0

I am trying to install as many updates as possible as part of the imaging process to save time later, however i am having trouble with just one update (KB2919355)

Whenever i include this update along with all the others that i already have, the whole process fails.  

I had a look at the logs and it seems to suggest that the update can't be installed as update KB2919355 requires Service Stack 6.3.9600.17021 but the current Service Stack is 6.3.9600.16384.  I assume this is why it won't install and fails.

I then downloaded KB2919442 as this is an update for the service stack but the same thing happens.  I have tried putting both packages in the same folder and also tried putting KB2919442 in a higher folder so it gets install first but no change.

Any Help?

Cheers

Turn off defrag of SSD in Windows 8.1

$
0
0

Greetings,

   After applying my Windows 8.1 Update 1 OS image to a tablet, I noticed that it has set the defragmenter to automatically defrag my SSD. This is an appalling default and Im very surprised MS hasnt fixed it.

  Does anyone know a registry hack or something that I can do in my task sequence to turn of all automatic defragmenting in Windows 8.1 permanently please?

Thanks

David Z

Deploy IE10 thru MDT2012 customsettings.ini

$
0
0

Is it possible to deploy IE10 thru customsettings.ini off MDT2012?

I know it is possible to add the application deploy to the TS but then it must be added to every TS. When i can deploy IE10 thru the Customsettings then it only have to be done once in the customsettings...

IE10 is made with IEAK10 and is a fully automatically exe file sot that is no problem..


freddie

Unable to generate a catalog for an x86 operating system image while running on an x64 operating system ( MDT 2012 )

$
0
0

Hello,

I have on my company a MDT2012 Server on WS2008 x64.

I have in my workbanch two DS ( Windows 7 and Windows 8 ). Inside of Windows 7 DS i have two operation System x86 and x64 and i can edit the unattend file in both systems.

However, when i go to edit the unattend file of Windows8 x86 appear the error below: ( but only in this plataform ).

"Performing operation "generate" on Target "Catalog".
Starting: "C:\Program Files\Microsoft Deployment Toolkit\Bin\Microsoft.BDD.Catalog35.exe" "S:\DEPLOY-WIN8\Operating Systems\Windows 8 Consumer Preview x86\Sources\install.wim" 1 > "C:\Users\bddms\AppData\Local\Temp\2\Microsoft.BDD.Catalog.log" 2>&1
No existing catalog file found.
PROGRESS: 0: Starting.
PROGRESS: 0: Creating mount folder: C:\Users\bddms\AppData\Local\Temp\2\IMGMGR_install_Windows 8 Consumer Preview_iqne01qy.xtw.
PROGRESS: 5: Creating temp folder: C:\Users\bddms\AppData\Local\Temp\2\IMGMGR_install_temp_4gfcoeo5.qdq.
PROGRESS: 10: Mounting Windows image: S:\DEPLOY-WIN8\Operating Systems\Windows 8 Consumer Preview x86\Sources\install.wim. This might take a few minutes.
ERROR: Unable to generate catalog on S:\DEPLOY-WIN8\Operating Systems\Windows 8 Consumer Preview x86\Sources\install.wim: System.ComponentModel.Win32Exception: The process cannot access the file because it is being used by another process
   at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PreCreateCatalog()
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
   at Microsoft.BDD.Catalog.Program.DoCatalog()

Unable to generate a catalog for an x86 operating system image while running on an x64 operating system.  Retry the operation from an x86 operating system."

Anybody know why this error occured?

Regards,

Windows 7 Imag hangs at splash screen

$
0
0

I'm having an issue getting an image to complete successfully on a HP 635 laptop.

The image I'm using was created on a VM and it's used on other laptop/desktops successfully.

The process works find until the laptop reboots and the windows splash screen comes up. And at that point it does not proceed any further.  Shift F10 does not switch me to the command prompt so I can't check log files or make any registry changes that might correct the problem.  If I power off the unit and go into command prompt safe mode I see that it load drivers until it gets to afcmx64.sys then stops.  I have tried renaming this file suspecting that there maybe an issue with it but the boot up doesn't work as it complains that the file is missing.   I can however, install windows 7 from a CD without issue.

I have checked this form and searched the internet but have not found a match for my issue. If anyone has gone through this and has a fix for it I would appreciate you help.

thanks


Kris Da San Martino

MDT Wireless setup

$
0
0

Hello,

During the capture process, i have my wireless key set in the profile. Once I deploy the image, the key is no longer there and i have to set up the profile again. Is there a way that this can be done during the deployment, through the customsettings.ini or a script?

Help: MDT 2013 is now creating extra partition when making Reference Image (Golden Image)

$
0
0

I've been recently working on my MDT 2013 server and I've run into a brand new hiccup as of last week and I can't easily identify the issue.

As I've been transition my environment from a Symantec Ghost imaging process into an MDT 2013 process, I still have to deal with day to day image work during said transition. What that means is big unwieldy 40gig one shot images that I drop onto hardware. It's not the best way to handle things any longer, but it still works.

My scenario: I was using MDT 2013 to make single capture Reference Images (also referred to as Golden Images by some) as a temporary helping solution during my transition. I'd pretty much image an entire virtual (VMware) build and then send it to physical hardware. Worked every time and like a charm.

Now what seems to be happening (and I'm sure this is because of some tweak/toggle/checkbox or some such that I didn't document) MDT 2013 is now creating an additional partion (and it really seems like some sort of boot partition) on the image.

Before shot of hard drive prior to MDT image capture:

Now here is an after shot once MDT 2013 is done with the reference capture:

See the newly added System E:

That is what is throwing me. So I'm looking for clues, or pointers, on what might be causing this now. My information might be a little vague, and I'm more than happy to provider better details if this helps someone point me in the right direction.

Thanks!


Script not Found - Unable to find LiteTouch.wsf needed to continue the deployment.

$
0
0

Hello,

MDT is giving the error above after I logging to a PC after the image has been deployed. I had been deploying images from this MDT server without issue until a few days ago. I tried rebuilding the TS, which fixed this problem once, but that didn't resolve the error. I get it with more than one TS.

I don't have the BDD logs at the moment but I can post them tomorrow if they will help.

Any help is appreciated.

Thanks.

Getting Started with Hydration Kits - Windows 8.1 PoC

$
0
0

Hi,

 I've downloaded Windows 8.1 PoC Hydration Kit from http://connect.microsoft.com/pocjumpstart/Downloads/DownloadDetails.aspx?DownloadID=46580

Reading through the instructions I've done the following steps:

1. Extracted the zip files, including the 24GB Hydration6 folder
2. Used InfoPath 2013 to update the Full-Windows8Deployment.xml file (choosing the provided LabCustomizer.xsn template).
3. I've then ran the provided PowerShell script as below

.\SetupLab.ps1 –Mode Provision -LabConfigFile .\LabDefinitions\Full-Windows8Deployment.xml -StartLab True

4. I keep on getting an error - "unable to access configuration file at  .\LabDefinitions\Full-Windows8Deployment.xml. Ensure that you have provided the full path to the file. Exiting script"

Regardless of whether I use the full or relative path of the xml file I get the same error. I'm using an elevated command prompt and "type  Windows8Deployment.xml" displays the XML as expected. I'm trying to get this working on a 2008 R2 Hyper V host.

What am I missing? Should I be doing something with MDT?

Thanks


IT Support/Everything

setuperr.log Error: LegacyGatherVolumeInfo: Couldn't find NT path for disk [1] region

$
0
0

Hi Experts,

We got error as follows on MDT deployment, that we don't have problem on test-deploying on VM, but in real machines error log as follows. Any idea for troubleshooting?? 

Thanks a lot!!

2014-06-09 15:08:02, Error      [0x0606cc] IBS    LegacyGatherVolumeInfo: Couldn't find NT path for disk [1] region [0x100000]; hr = 0x80070490.[gle=0x00000002]

2014-06-09 15:08:02, Error      [0x060222] IBS    GatherRegionInfo: LegacyGatherVolumeInfo failed, hr = 0x80070490[gle=0x00000002]
2014-06-09 15:08:08, Error      [0x0606cc] IBS    LegacyGatherVolumeInfo: Couldn't find NT path for disk [1] region [0x100000]; hr = 0x80070490.[gle=0x00000002]
2014-06-09 15:08:08, Error      [0x060222] IBS    GatherRegionInfo: LegacyGatherVolumeInfo failed, hr = 0x80070490[gle=0x00000002]
2014-06-09 15:08:10, Error      [0x0606cc] IBS    LegacyGatherVolumeInfo: Couldn't find NT path for disk [1] region [0x100000]; hr = 0x80070490.[gle=0x00000002]
2014-06-09 15:08:10, Error      [0x060222] IBS    GatherRegionInfo: LegacyGatherVolumeInfo failed, hr = 0x80070490[gle=0x00000002]
2014-06-09 15:28:39, Error      [0x0604a7] IBS    InstantiateCBSUnattendPass: dism.exe returned with failing exit code 3
2014-06-09 15:28:39, Error      [0x060431] IBS    Callback_UnattendInitiatePass: An error occurred while initiating unattend passes; hr = 0x80004005

How is local admin password being set with old password during OS deployment?

$
0
0

I created a brand new image using a Windows 7 DVD.  The local administrator account had the password sent to blank and the image was captured in MDT 2012.

I then deployed the same image in a task sequence and the customsettings.ini is configured with skipadminpassword=YES.

The deployment runs fine and all the autologons work, however at the end of the task sequence there is a password set.

It is an old password that we no longer use.  To get the password set to our current admin password, I added a run command task sequence at the end to change the password to the correct new password.

Where could the out of date local admin password be coming from and how can we edit it so that the images are deployed with the correct new password without the need to add a change password command with a plain text password in the task sequence?


Enable BitLocker not working

$
0
0
For some reason, I cannot get MDT to enable Bitlocker during the TS.  I have it running as the last step so it doesn't slow down the deployment, but when I run just the enable Bitlocker step, the screen comes up, and the TS completes, but the drives do not encrypt, however, when I go into the control panel to enable it, it allows me to.  Do I need to add a task that does the step that prepares the HDD, or am I configuring something else wrong?

LTIBootStrap Not Running

$
0
0
MDT installs properly but when it logs on for the first time it will not run the FirstLogonCommand that calls the LTIBootStrap.  I can locate the LTIBootStrap in the C:drive and run it manually.  In the beginning, I try to run it with the Administrator account being enable and it did not run.  I then enable the Administrator account and let the Task Sequence Auto Logon with the Administrator account and still did not work.  I really do not know why is not working.  The BBD logs do not bring any errors.  Please help. 

USMT - IE Favorites Not Migrating (Pls Help)

$
0
0

Hello,

I have been following Deployment Fundamentals 4 and am using this line in my customsettings.ini

ScantStateArgs=ue:*\* /ui:XXXXX\* /uel:7 along with SKIPUSERDATA=NO

Windows 7 SP1 / IE9

USMT runs, backs up My Docs, Videos, Pics, however I have noticed that IE favourites reset to what the image has. IE favvorites are not user's IE favorites. Can someone please guide me into the right direction. Thanks.




USMT - IE Favorites Not Migrating (Updated)

$
0
0

Hello,

I have been following Deployment Fundamentals 4 and am using this line in my customsettings.ini:

ScanstateArgs=/ue:%computername%\* /ui:domain_name\* /uel:7

along with SKIPUSERDATA=NO

Windows 7 SP1 / IE9

USMT runs, backs up My Docs, Videos, Pics, however I have noticed that IE favorites reset to what the image has. Desktop Items come as an addition to the default shortcuts. IE favorites are not user's IE favorites. Can someone please guide me into the right direction? Thanks.




Custom dropdown list

$
0
0

I'm creating a custom wizard page and I need a dropdown list. I'm reading values to this dropdown list from XML file. I'm able to read those values from XML file and populate the dropdown list. It works nicely.

I still have few tweaks that I want to get working.

1. how I can get the dropdown list sorted alphapetically? any example?

2. how I can get some of the dropdown list items automatically selected as a default based on some rule (eg. gateway ip address)

MDT and database

$
0
0
I have never used MDT with database. I don't understand where I would need the database. Is it then when you want to prestage computers? 

Name change and server 2012 R2

$
0
0

Hi, I try to deploy Windows Server 2012 R2 with mdt 2013, but the problem is that when mdt ask me the name of the computer, I put the name I want (the object name that i put aleready exist in AD, but for some raison he do not change the name and I am stuck with the default name like Win-xxxxxxxxxx.

I do the same thing to deploy an Windows server 2008 R2 and it's working perfectly so i don't understand why when i try it with windows 2012 R2 it doesn't work ??

Any idea why ??

Stéphane Gagnon


Stephane Gagnon

Deploy applications using MDT over wireless without a Physical NIC

$
0
0

Hello,

i am trying to Deploy applications (litetouch.vbs starting in windows )using MDT over wireless without a Physical NIC.

This will end up with :

In the logs i see the error "can not deploy over wireless".

There is no phsyical nic in this machine (asus transformer T100).

Starting this litetouch.vbs is working well with machines with a physical nic.

How can i fix this issue for this machine?

Thx

Viewing all 11297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>