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

MDT 2012 Update 1 - Deployment - Auto Login won't Disable

$
0
0

Hello,

I am using MDT 2012 Update 1 with an almost vanilla Windows 8.1 and Windows 7 test box. I can deploy both images fine and get a success on my summary but both machines continue to auto login to the Administrator account. To my understanding, the Auto Login should be shutoff via the LTIcleanup script. When I double check the script for the reg keys that are added/deleted I can confirm that this is happening but the images still continue to auto login to the admin account.

Anyone have any ideas?


Server 2012 Join Domain issues

$
0
0

This issue isn't specific to MDT but I'm hoping that if anyone is running into this issue, it would be people using MDT. The issue is when you deploy Server 2012 with a static IP, the domain join during OS customization fails which is expected, but it takes 15 minutes to fail. This seriously slows down the build process. With 2008 and 2008R2, the failure was pretty fast and the recover from domain task took care of the domain join. 

Has anyone else run into this and figured out how to make this process go faster?

Thanks,
Rich

Skip Obtaining drivers from Windows Update using MDT 2012

$
0
0

Does anyone know how to disable windows from obtaining drivers online after MDT is done imaging, the reason why I ask is that after the image is done, it takes forever for a dell keyboard to install drivers because windows is searching online. I would like to turn that setting off using MDT 2012 if possible.

Thanks,

Bobby

Andrew Barnes - ZTIAddMember.wsf script help

$
0
0

Hi All,

So I am attempting to add a computer to a security group, the script above appears to theoretically tick the boxes.

Has anyone actually had this working?

I gather the following 'should' work...

Copy ZTIAddMember.wsf to script folder

Then as below

The script is run in a task sequence with the command line:

cscript.exe "%SCRIPTROOT%\ZTIAddMember.wsf

The code below is a sample of the customsettings.ini changes.

 

[Settings]Priority=Default
Properties=CustomProperty, ADGroup 

[Default]
OSInstall=Y

ADGroup = LDAP://CN=IT Computers,OU=Groups,DC=corp,DC=continuum,DC=com(changed to my security group).

Where do you put this: cscript.exe "%SCRIPTROOT%\ZTIAddMember.wsf   ???

I placed this under Recover from Domain

I have also tried it with a cscript.exe "%SCRIPTROOT%\ZTIAddMember.wsf" (Note additional speech mark at end)

I have also ran as a user with operator rights to the security group.

Do we have a step by step guide?

Thanks,

MDT - Using TaskSequenceID with Desktop-True or Laptop-True

$
0
0

I have now modified this to the following.

I am having an issue with MDT TaskSequenceID with Desktop-True or Laptop-True.

Scope: Three TaskSequenceID e.g. [WIN7x86], [WIN7x64], [WINXPx86] to contain all settings but use [Desktop-True] to apply a workstation to a Desktop OU or [Laptop-True] to a Laptop OU (exempt [WINXPx86] which contains the OU information within its own TS).

If the OU is specified directly under the TS [WIN7] everything works fine so the user account/password and path are correct. I can see MDT is pulling the correct TS as well.

When I add into the mix the following the system will not attach to the domain..

[WIN7x86]
SkipDomainMembership=YES
NetworkLocation=Work
JoinDomain=removed
DomainAdmin=svc_mdtjoin
DomainAdminPassword=removed

[ByDesktop]
Subsection=Desktop-%IsDesktop%

[ByLaptop]
Subsection=Laptop-%IsLaptop%

[Desktop-True]
MachineObjectOU=ou=Desktops,ou=Windows7,DC=removed,DC=uk

[Laptop-True]
MachineObjectOU=ou=Laptops,ou=Windows7,DC=removed,DC=uk

The BDD.log shows it see the workstation (Dell OptiPlex 7010 as a Desktop).

The ZTIDomainJoin.log is showing it is ‘attempting’ to add to the correct OU as well.

Initial attempt: JoinDomain(,PWD,\,ou=Desktops,ou=Windows7,DC=removed,DC=uk,3), rc = 2

The system is not anywhere in Active Directory.
I can log onto AD Users and Computers as svc_mdtjoin and add the computer manually.

My settings at the start are:

[Settings]
Priority=TaskSequenceID,ByLaptop,ByDesktop,DefaultGateway,Model,Default
Properties=MyCustomProperty

Any ideas??

Thanks.”



Could not parse answer file [oobeSystem]

$
0
0

This is a Windows 8.1 x64 deployment using MDT 2013.

Yesterday, I started getting the error "Windows cold not parse or process unattend answer file. [C:\windows\Panther\unattend.xml] for pass [oobeSystem]. The answer file is invalid." Some searching found that there is usually a reference to the [Microsoft - Windows - Shell -Setup] component, but my error doesn't indicate that. I Shift+F10'd and searched the Panther directory which had the folders "actionqueue", "setup.exe", "Unattend" and "UnattendGC", all of which were empty. C:\MININT also had folders which were empty, as were the logs in %windir%\temp.

This is happening for for both images I'm trying to deploy.

My Bootstrap.ini
[Settings]
Priority=Default

[Default]
DeployRoot=\\server\deploymentshare$

CS.ini
[Settings]
Priority=Default

[Default]
OSInstall=Y
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
EventService=http://BGWDS:9800


Adding a domain user to Local Admin Groups using MDT 2012

$
0
0
I don't know if this will help anyone, but it did me after weeks of searching.  If you are trying to add a domain user or domain groups to the local administrators group using MDT, simply go to the cs.ini and add "SkipAdminAccounts=No".  But the administrators accounts page will only appear if you choose to join a domain. 

Office service pack post installation

$
0
0

Hello,

I enabled Office 2010 post installation.

Everything is fine. A tech can select Office during LT if needed.

Can I enable Office Service Pack the same way as application and a tech can just select it.

Or SP should be slipstreamed into Office?

What is the right way to accomplish that?

Thanks,

Michael. 


"When you hit a wrong note it's the next note that makes it good or bad". Miles Davis



Adding windows update to an offline wim but getting an error

$
0
0

Using the following example to add updates to a WIM file.
Usinge MDT 2010 Update 1

mount the wim:  Dism /mount-wim /winmile:"path to wim" /index:1 /mountDir:"mountfolder"
Add patches:  Dism.exe /image:"path to mounted wim" /add-package /packagePath:"path to msu ot cab"
Unmount and commit changes:  dism /unmount-wim /mountdir:"path to mounted wim" /commit

Mount works fine

But when I run the command to add patches I get:

Error: 87
No Packages were found that require processing.

I am using the package path to our WSUS server.    X:\wsus\wsuscontent\

This is where we have all our updates for workstations and servers.

And I know their are almost 200 Windows 7 updates in there.


Info From Sharepoint


Enabling a tried and working method of Multicast (Auto-cast) on a WDS enabled Server

$
0
0

Hi All,

I have deployed a multi-site solution using WDS, DFS-R, MDT and WAIK.

The Deployment Share is located at D:\DeploymentShare$.

All sites have had IGMP multicast enabled.

Server-A has WDS, MDT 2012 U1, WAIK installed, distributing the deployment share to remote hosts using DFS-R in a hub to spoke topology.

Server-A works brilliantly with multicast and Server-A site.

Server-B (in this example) run WDS only and has the share replicated successfully using DFS-R. The workstations at the same site as Server-B boot from the correct server (Server-B) without any problems apart from it only runs in Unicast.

I have looked into this and used the following command on Server-B.

wdsutil.exe /new-namespace /friendlyname:"MDT Test Share" /server:Server-B /namespace:"DeploymentShare$" /contentprovider:WDS /configstring:"D:\DeploymentShare" /namespacetype:AutoCast

This command creates a successful multicast connection in the WDS portal on Server-B but when a workstation attempts to connect / create a multicast stream it fails then reverts to Unicast....

I have briefly spoken with Johan who advises he believes the above is correct so what is missing? Has someone else set this up the same way or differently? I do not wish to install MDT on any of the remote servers.

The article below implies a new-multicasttransmission is required as the WDS role and Transport service is enabled...

http://technet.microsoft.com/en-us/library/cc794874.aspx

Thanks in advance.

MDT 2013 stalls during first boot into OS

$
0
0

I just built a new MDT 2013 server (on 2012 R2) and am attempting to deploy Windows 7 from it via litetouch.  I've been working with MDT 2010 for several years so I am pretty familiar with how it works and just about everything is fine with 2013 except for one small issue.  When the sequence boots into Windows 7 for the first time, it just sits there at the desktop and nothing happens.  This happens every time and performs the same on virtual and physical machines.  All I have to do is reboot the machine and the task sequence will pick right up where it left of and finish everything correctly.

I have found similar reports that seem to be resolved by adding pauses to either the ltibootstrap, litetouch, or ztiutility scripts to give the machine additional time to initialize, but none have worked for me.  The only seemingly relevant log entry comes from the BDD file.  The last entry is:

<![LOG[RUN: regsvr32.exe /s "C:\Users\wdsbuild\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll"]LOG]!><time="17:47:46.000+000" date="03-25-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
<![LOG[FAILURE (Err): -2147024770  0x8007007E: CreateObject(Microsoft.BDD.Utility) -]LOG]!><time="17:47:46.000+000" date="03-25-2014" component="LiteTouch" context="" type="2" thread="" file="LiteTouch">

I question the relevance of this entry because I don't actually have to manually register the dll to get it to work again.  Everything else in the BDD and SMSTS logs looks fine and don't appear to give any indication of what is going on.

I have also attempted to add an additional restart to the task sequence immediately following the restart that is initiated after the OS has been laid down, but since the task sequence doesn't start after that first autologin, it doesn't execute.

Thoughts?

USMT - exclude folder c:\Notes but include some specific files in it

$
0
0

Hi,

my name is Paul, I live in Belgium and I'm fairly new to MDT and USMT. We're doing some testing because we want to implement LTI deployments. Since two weeks I'm testing USMT5. I created a Capture User Data Task Sequence and it worked great. All non-windows folders in the C-drive were copied, all Favorites etc. Even the restore worked! So I was happy. :-) But one non-windows folder in the C:-drive is C:\Notes. This folder is almost 1GB and I only need four small files. I read all information I could find on the internet but I didn't find any information or examples for my case. Most examples include a folder and exclude some files in it, but I want it the other way around !

Could you help me? So I want to exclude c:\Notes (and all the subfolders) and include c:\Notes\Data\names.nsf, c:\Notes\Data\bookmark.nsf, c:\Notes\notes.ini and c:\Notes\Data\username.id .

This is one of the versions I tried.

<?xml version="1.0" encoding="UTF-8"?><migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/mignotes"><!-- This component first exludes the Notes folder but next migrates all the necessary Notes configuration files within --><component type="Documents" context="System"><displayName>Exclude Notes</displayName><role role="Data"><rules><Exclude><objectSet><pattern type="File">C:\Notes\* [*]</pattern></objectSet></Exclude><include><objectSet><pattern type="File">C:\Notes\Data\ [bookmark.nsf]</pattern><pattern type="File">C:\Notes\Data\ [names.nsf]</pattern><pattern type="File">C:\Notes\Data\ [*.id]</pattern><pattern type="File">C:\Notes\ [notes.ini]</pattern></objectSet></include></rules></role></migration>



MDT 2013 - Capture WIM vs. Domain Join in rules.ini

$
0
0

Hi,

Pre MDT2013 it was possible to have domain join settings in the rules.ini and run capture tasks.

rules.ini ->

JoinDomain=<my domain>
DomainAdmin=<domain join account>
DomainAdminDomain=<domain>
DomainAdminPassword=<password>
MachineObjectOU=OU=Computers Germany,OU=_Computers,OU=EU Offices,DC=bar,DC=foo,DC=com

On MDT2013, whenever I enable my domain join settings capture task will cancel shortly upon start.

Is this a desired behaviour?

How are you working aroun that?

Regards,

Albert

Add-Comptuer Fails in TS with "Can not process argument transformation on Parameter 'Credential'

$
0
0

Hello,

I am trying to us PS add-computer to join a machine as the last step in my TS. I am getting"Can not process argument transformation on Parameter 'Credential'. The method or operation is not  implemented".

The command I run is Add-Computer -DomainName DomainName -CredentialDomainName\User

If I run that command form ISE on a machine that it failed from the TS, the join succeeds.

This might be more of a PS question but it works from ISE.

Any help is appreciated.

Thanks.

Uncheck QoS Packet Scheduler via MDT

$
0
0

Hi,

Disable QoS Packet Scheduler via MDT?

Regards,

Vidhya


MDT 2010 'Failed to save Environment to (80070057) Error during Windows 7 Pro Deployment

$
0
0

Hi There,

I've been using MDT 2010 for a little while now, but I'm having problems successfully deploying an image to a batch of new laptops. The laptop HDD's are completely blank, and I am PXE booting using an x64 Litetouch Image via WDS. I have successfully captured my image from a reference laptop (the same model that I'm trying to image), and I am now trying to deploy it using a standard client task sequence.

The 'Install operating System' phase seems to go ok, but then sits for quite some time at the 'Applying Unattend.xml' stage, then eventually, I get a general error 'Task Sequence Failed - 80004005'. I then exit MDT (it doesn't reboot as it should), and let the laptop boot, which it does, and logs straight on into Windows, but gives me error along the lines of 'can't find the litetouch script', which I assume means MDT hasn't been able to copy it across. The laptop is however joined to our domain, and I pretty much just have to tick the 'require a password to log on to this computer' box in user accounts, and all looks ok.

So in summary, the image is applying, but the laptop is not rebooting and running the final cleanup scripts.

I have already changed the SATA mode to IDE, instead of AHCI, having read this sometimes causes problems. I also read that systems with UEFI BIOS can also cause problems with MDT, but I'm not sure if this is the case.

I have edited my customsettings.ini, to copy log files back to my server, which it has done for me. Having looked at the logs (with CM Trace), I can see these errors:

Failed to save environment to  (80070057) TSManager26/03/2014 15:48:091820 (0x071C)
Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)TSManager26/03/2014 15:48:091820 (0x071C)
Failed to persist execution state. Error 0x(80070057)TSManager26/03/2014 15:48:091820 (0x071C)
Failed to save execution state and environment to local hard diskTSManager26/03/2014 15:48:091820 (0x071C)
The task sequence execution engine can not reboot the machine because we failed to persist execution environmentTSManager26/03/2014 15:48:091820 (0x071C)
Fatal error is returned in check for reboot request of the action (Restart computer). 
Unspecified error (Error: 80004005; Source: Windows)TSManager26/03/2014 15:48:091820 (0x071C)
An error (0x80004005) is encountered in execution of the task sequenceTSManager26/03/2014 15:48:091820 (0x071C)
Task Sequence Engine failed! Code: 80004005 TSManager26/03/2014 15:48:091820 (0x071C)

Any help you can give me would be great, as I'd like to get this process running properly.

Thanks,

Sarah










Dell Model name with space

$
0
0

Hello fellow MDT lovers! I am using %model% in a wmi query to decide whether or not it should run that task however it is not working on any my dell machines but my Lenovo machines that have a full string model name (no spaces) work fine. I have two dell's with a model that is reported back via get-wmiobject win32_computersystem as Precision M6500 and Precision M6600... if I put these in the task as an option it doesn't seem to work and goes right by it... I have entered the query in four ways and neither seem to work.. any thoughts?

Attempt one: SELECT * FROM Win32_ComputerSystem WHERE Model = 'Precision M6500'

Attempt two: SELECT * FROM Win32_ComputerSystem WHERE Model = "'Precision M6500'"

Attempt three: SELECT * FROM Win32_ComputerSystem WHERE Model = 'Precision_M6500'

Attempt four: SELECT * FROM Win32_ComputerSystem WHERE Model = '"Precision M6500"'

I don't want to use a model alias I know that's what some people do but I would prefer to use the model that is actually given by the machine.

Bing Toolbar patch? - Issue with Bing appearing in my test environment.

$
0
0

Hi Everyone,

I just recently had bing toolbar show up in my test environment after introducing patching. I don't think any of my applications introduced it..  Can anyone direct me to a specific KB that this might be introduced so I can exclude it?  Also, if there are any other annoying Windows 8.1 patches I should avoid, I'd appreciate it.  Thank you.

Ryan

MDT Offline Image or Media Showing Error after FInished

$
0
0

Hello,

Please help me I have MDT 2013 with Windows 2012 R2 and WDS I am using the MDT for Offline Image via USB.

My Problem that MDT showing a lot of Error

Failure ( 9601 ) Error - ZTITatoo State restore task should be running in the full OS, Aborting

Failure ( 5496 ) : 1: LoadControlfile.findfile: Application.XML

Lite touch deployment failed, Return code = -2147467259 0x80004005

how I can solve it?

I'm trying to deploy the offline image through usb without joining the domain and without network connectivity.

Here below the Error Code

Thanks  


FZ2H




MDT - TS - App (installation) does not run unless I "move" the mouse

$
0
0

Hi, As the title says, I am having a problem running a sequence that starts an Installation package (xxyyzz.exe)

I can see the TS initiated (installing xxyyzz) , but for some reason it just "hangs" there unless i move the move...once i move the mouse, I can see the application starts to do its thing and completes successfully.

for reference, the application is extremely small and simple, and requires No parameters or switches. the silent install code is simply xxyyzz.exe ..

please advise.

Sincerely,

Luis B.

Viewing all 11297 articles
Browse latest View live


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