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

Windows 10 1607 error when applying os using mdt

$
0
0

I am using wds and mdt to image all the machines in my environment. Currently I image Windows 7, 8.1, and 8.1 x64 with no problem. I get the bare OS the way i want it and use sysprep and then pxe boot to capture the image. In the past i have never had any issues when MDT gets to the step of applying the operating system and then getting any error. I have updated to the newest version of ADK and MDT update 2. I also tried to re-capture the windows 10 image and recreate the task sequence.

Unfortunately nothing has worked. Any help would be much appreciated. Thank you!



Can not creat DaRT 8 Wim/ISO

$
0
0

I have downloaded MODP 2012 and installed the DaRT recovery image tool, along with the additionally required software (WADK & WSDk (Debuggers And Tools)

When I run the DaRT recovery image tool, Tell it to create X64 dart image,  select the windows 8 X64 location, and try an create a wim but I get an access denied error

Generating DaRT image
Set-DartImage
Installing optional component: 'C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FMAPI.cab'
Command execution stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Cleaning up temporary files
Temporary folder: C:\Users\tester\AppData\Local\Temp\DaRT8_Mount_2012.11.07.10.55.16
The clean-up has successfully been completed.

Ive tried changing permissions on the the Assessment and Deployment Kit folder and its sub folders but no go. The account im using is a Admin account. Running windows 8 x64 final

Ethernet Driver Problem

$
0
0

We are trying to inject a Marvell Yukon Ethernet driver into one of our models, specifically a Lenovo 7268 tower. I use selection profiles for driver injection and it works without a problem on the other models we have. The driver shows installed in device manager, however, after first reboot, after the os is installed, the computer boots but fails to connect to finish deployment. 

I manually installed the driver after the os was installed and it connected to the network. Any assistance would be appreciated.

Note: when the error message shows during the deployment it states connection to the deployment share could not be made but it didn't state the specific hardware id. 

Problems selecting language packs automatically in MDT

$
0
0
I want to make my image creation automated, but language packs specified in my customsettings.ini are not selected in the wizard automatically. Why is this? I double checked the package GUIDS and they match the langage packs.

Removed default apps still appear in start menu as broken after deployment

$
0
0

Hi all,

I am currently using MDT 2013 to deploy Windows 10 on several systems. In the task sequence is a custom task to remove the default Windows apps.

All default apps are uninstalled after deployment, but the icons/names still appear in the start menu and seem to be broken. Clicking these apps does nothing and in most cases the icon image is blank.

Is this a known issue and is there a solution?

The custom task contains the following script:

# ***************************************************************************
#
# File:      RemoveApps.ps1
#
# Version:   1.2
#
# Author:    Michael Niehaus
#
# Purpose:   Removes some or all of the in-box apps on Windows 8, Windows 8.1,
#            or Windows 10 systems.  The script supports both offline and
#            online removal.  By default it will remove all apps, but you can
#            provide a separate RemoveApps.xml file with a list of apps that
#            you want to instead remove.  If this file doesn't exist, the
#            script will recreate one in the log or temp folder, so you can
#            run the script once, grab the file, make whatever changes you
#            want, then put the file alongside the script and it will remove
#            only the apps you specified.
#
# Usage:     This script can be added into any MDT or ConfigMgr task sequences.
#            It has a few dependencies:
#              1.  For offline use in Windows PE, the .NET Framework,
#                  PowerShell, DISM Cmdlets, and Storage cmdlets must be
#                  included in the boot image.
#              2.  Script execution must be enabled, e.g. "Set-ExecutionPolicy
#                  Bypass".  This can be done via a separate task sequence
#                  step if needed, see http://blogs.technet.com/mniehaus for
#                  more information.
#
# ------------- DISCLAIMER -------------------------------------------------
# This script code is provided as is with no guarantee or waranty concerning
# the usability or impact on systems and may be used, distributed, and
# modified in any way provided the parties agree and acknowledge the
# Microsoft or Microsoft Partners have neither accountabilty or
# responsibility for results produced by use of this script.
#
# Microsoft will not provide any support through any means.
# ------------- DISCLAIMER -------------------------------------------------
#
# ***************************************************************************


# ---------------------------------------------------------------------------
# Initialization
# ---------------------------------------------------------------------------

if ($env:SYSTEMDRIVE -eq "X:")
{
  $script:Offline = $true

  # Find Windows
  $drives = get-volume | ? {-not [String]::IsNullOrWhiteSpace($_.DriveLetter) } | ? {$_.DriveType -eq 'Fixed'} | ? {$_.DriveLetter -ne 'X'}
  $drives | ? { Test-Path "$($_.DriveLetter):\Windows\System32"} | % { $script:OfflinePath = "$($_.DriveLetter):\" }
  Write-Verbose "Eligible offline drive found: $script:OfflinePath"
}
else
{
  Write-Verbose "Running in the full OS."
  $script:Offline = $false
}


# ---------------------------------------------------------------------------
# Get-LogDir:  Return the location for logs and output files
# ---------------------------------------------------------------------------

function Get-LogDir
{
  try
  {
    $ts = New-Object -ComObject Microsoft.SMS.TSEnvironment -ErrorAction Stop
    if ($ts.Value("LogPath") -ne "")
    {
      $logDir = $ts.Value("LogPath")
    }
    else
    {
      $logDir = $ts.Value("_SMSTSLogPath")
    }
  }
  catch
  {
    $logDir = $env:TEMP
  }
  return $logDir
}

# ---------------------------------------------------------------------------
# Get-AppList:  Return the list of apps to be removed
# ---------------------------------------------------------------------------

function Get-AppList
{
  begin
  {
    # Look for a config file.
    $configFile = "$PSScriptRoot\RemoveApps.xml"
    if (Test-Path -Path $configFile)
    {
      # Read the list
      Write-Verbose "Reading list of apps from $configFile"
      $list = Get-Content $configFile
    }
    else
    {
      # No list? Build one with all apps.
      Write-Verbose "Building list of provisioned apps"
      $list = @()
      if ($script:Offline)
      {
        Get-AppxProvisionedPackage -Path $script:OfflinePath | % { $list += $_.DisplayName }
      }
      else
      {
        Get-AppxProvisionedPackage -Online | % { $list += $_.DisplayName }
      }

      # Write the list to the log path
      $logDir = Get-LogDir
      $configFile = "$logDir\RemoveApps.xml"
      $list | Set-Content $configFile
      Write-Information "Wrote list of apps to $logDir\RemoveApps.xml, edit and place in the same folder as the script to use that list for future script executions"
    }

    Write-Information "Apps selected for removal: $list.Count"
  }

  process
  {
    $list
  }

}

# ---------------------------------------------------------------------------
# Remove-App:  Remove the specified app (online or offline)
# ---------------------------------------------------------------------------

function Remove-App
{
  [CmdletBinding()]
  param (
        [parameter(Mandatory=$true,ValueFromPipeline=$true)]
        [string] $appName
  )

  begin
  {
    # Determine offline or online
    if ($script:Offline)
    {
      $script:Provisioned = Get-AppxProvisionedPackage -Path $script:OfflinePath
    }
    else
    {
      $script:Provisioned = Get-AppxProvisionedPackage -Online
      $script:AppxPackages = Get-AppxPackage
    }
  }

  process
  {
    $app = $_

    # Remove the provisioned package
    Write-Information "Removing provisioned package $_"
    $current = $script:Provisioned | ? { $_.DisplayName -eq $app }
    if ($current)
    {
      if ($script:Offline)
      {
        $a = Remove-AppxProvisionedPackage -Path $script:OfflinePath -PackageName $current.PackageName
      }
      else
      {
        $a = Remove-AppxProvisionedPackage -Online -PackageName $current.PackageName
      }
    }
    else
    {
      Write-Warning "Unable to find provisioned package $_"
    }

    # If online, remove installed apps too
    if (-not $script:Offline)
    {
      Write-Information "Removing installed package $_"
      $current = $script:AppxPackages | ? {$_.Name -eq $app }
      if ($current)
      {
        $current | Remove-AppxPackage
      }
      else
      {
        Write-Warning "Unable to find installed app $_"
      }
    }

  }
}


# ---------------------------------------------------------------------------
# Main logic
# ---------------------------------------------------------------------------

$logDir = Get-LogDir
Start-Transcript "$logDir\RemoveApps.log"

Get-AppList | Remove-App

Stop-Transcript

MDT2012 U2 Copy Profile quit working.

$
0
0

I upgraded MDT to 2012 U2 and ADK is 10.1.10586. I build my Hyper-V VM's with a local admin account (not administrator), then later activate the Admin account with a short batch file from the desktop at the end of the TS.

This has always worked for Win7, even after the upgrade. There is no administrator account ever activated on my VM's. Now sysprep blows up in the Shell Setup when Copy Profile=true. Only one account on the VM. I always did a snapshot (now Checkpoint) so that my VM's do not remain sysprepped.

I cannot figure out what is causing the Copy Profile=true to fail now when it worked for a long while. Could it be the version of ADK? If so, can I just delete it and install a different version? Even so, it worked. Any ideas would be great. Its not a major issue, I have it turned off and we get a generic desktop (icons do remain). Thanks!

App Bundles - check mark specific apps but everything else will also Install

$
0
0

We have just begun using MDT 2013 at work (never used anything like it before) and I was having some issues. I have it set so that when imaging a new computer with a fresh image I have the Applications Wizard appear with check boxes for what software to install. But no matter what I check, everything in all the bundles will install.

  If I have a bundle with Office Pro and Stnd, Visio, and Project, I can check mark Office Stnd and Visio but I end up with both Offices and both Visio and Project installed on the system.

Any ideas of what might be done wrong? Any more information you might need?

IE11 hangs on "Choose your homepage and search settings", windows7 system

$
0
0
I just had a windows update. After that when I open IE11, the "Choose your homepage and search seetings" window pops up and hangs. The "Done" button is greyed and nothing happens when click it. And I can't close the window. If I click the main window, it "din" to the hanging window. Thought about uninstall IE and reinstall it, but it is not listed in programs to uninstall. I had to use "task manager" to kill it.

Network Limitations with MDT Server?

$
0
0

Hello, is there networking limitations with MDT with imaging multiple machines at the same time?

I sometimes have to disable and enable to network adapter to get it working again and just wondering if this is due to to much traffic? if so how can I get around this issue? Multicast?


Alex Olver

Windows 10 - anniversary edition update WSUS Update pass 1 does not work.

$
0
0

Hi, I am currently having a problem related to the Windows update task and WSUS. The deployment goes fine until it does the WSUS pass 1, it hung for over an hour on one update eventually I forced the machine to restart and it did pass 2 and then found the updates and installed fine. Does anybody know what this is?

Thanks in advance!

Windows ADK w/ UWP App Installed

$
0
0

** hopefully this is the correct forum.  It involves UWP and Microsoft ADK.

Hi there --

I am using the latest version of the Windows 10 ADK to create a Windows 10 OS image.  The Windows Imaging and Configuration Designer (ICD) works well but I have run into a snag.  I've spent several days trying to get a default Windows UWP app to be included within the ICD image. I am following the directions described here

Documentation https://msdn.microsoft.com/en-us/library/windows/hardware/dn916109(v=vs.85).aspx

...It seems so easy and I just can't seem to get it to work.  My UWP app already exists in the store -- so I know that it passes WACK.  I am just including the .appx (also tried .appxbundle) package.   ICD accepts the package and saves the entry within the configuration.  When the OS is deployed my app cannot be found.

Does anyone know where errors are reported for UWP onboarding during the OS initial install?  Separately, has anyone had success with this before?

OK, one last question -- there is a field in the documentation for an XML license.  I'm not familar with any XML licenses for UWP apps -- does anyone know what this may be referring to?


Thanks,

Shaun


Windows Update Step hanging - Windows 10 1607

$
0
0

I have encountered an issue with the version of Windows and MDT. 

Caputured a custom WIM and during deployment the Windows Update step finds a couple of updates and attempts to download and install them from WSUS server.  It just hangs when at installing update.

I have also installed the latest WADK and created updated boot images etc.

It looks like the updates are installing but are not moving onto the next one, as the update is showing in WU e.g. KB3176929 gets stuck at installing but seems to install.

Any ideas?

Start up programs in MDT

$
0
0

I have created an MDT image for Intel compute stick device. I have added operating system, Drivers, Application and a task sequence to deploy.

I want to make one application to be set up as start up program, so that application will run during boot up. How to configure start up programs in MDT ?

MDT Deployment on UEFI enabled systems.

$
0
0

Hello Everybody,

I have run into a small glitch trying to deploy using MDT with winPE boot media using UEFI.  With a properly created USB boot drive I begin the deployment.  All goes well, it recognizes the UEFI enabled system and Formats and Partitions appropriately and the install goes off without a hitch but at the end of "Postinstall" at "Restart Computer" it goes terribly wrong.  The machine boots back into the USB PE drive instead of the newly imaged hard drive and tries to continue the deployment.  If I am vigilant I can catch the restart and F12 and choose the hard drive and  the deployment continues and finishes correctly.  If I set the BIOS to"Old School" it works fine.  But UEFI it insists on booting to the USB drive.  I am using MDT  2013 U2, imaging multiple Dell models, with Win 7 and Win 10.  I am at a loss, any advice would help.

Thank you for  your time. 

Retain same machine name in Offline Refresh scenario

$
0
0

I am using customized computer naming for domain computers based upon sequential 5 digit number available in Active Directory.

I am using sccm and mdt for osd task sequence. Any suggestion or idea how to retain same customized computer name by rebuilding client using offline media?


Anand Prasad


MDT 2013 Windows 10 1611 Deployment = Selecting more than 1 domain

MDT 2013 Capture Errors

$
0
0

Domain Admin credentials provided to all tasks in task sequence and Domain Admin group has Full Control on Images volume where DeploymentShare$ is located.

The above log is the LiteTouch.log

Dell E6410 Series Laptop

$
0
0
I am unable to switch the wifi button from off to on.  I am running Windows 10.  Any suggestions?  Thanks.

Deployment Starts Upon random unexpected reboot - MDT 6.3.8330

$
0
0

Hi

I created a windows 7 x64 image using MDT 6.3.8330. It deploys fine without any issues. I started noticing this few weeks back when one machine was freezing up in windows so we had to hard reboot the machine and as soon as machine boot up Deployment Wizard Started. It went up to the point where you have to choose the path where deployment files exists. But since there are not files there it does not continue. You need to hit F8 to bring up command prompt and then write EXIT and hit enter. Machine then reboots again normally to windows. I have this happening with couple of random machines who were running fine for months. And this cannot be replicated since this issue happens very random. Any ideas what is going on please ?

Thanks

Regards

Syed Sherazi

IT Analyst 

"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."

$
0
0

MDT 2012 Server is up and running. I mistakenly deleted a Task Sequence step called "Install Application" that I thought was not needed (I know I should have disabled it and tested).

I have a problem now, when I went to image a computer I did not get application list (This used to work before I deleted the above TS step) with items to check and uncheck for installation.  "Install Application" TS was readded but now when I try to image I get this error:

"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."

I've tried moving it to different positions on the list (Higher and lower) to no avail, I always get the same error. Please advise.

-Thanks in advance!






Viewing all 11297 articles
Browse latest View live


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