Jump to content


anyweb

How can I deploy Windows 8.1 x64 to the Microsoft Surface Pro 3 using System Center 2012 R2 Configuration Manager ?

Recommended Posts

the hint is in the error message

 

 

it can't find pnputil

 

if you are using a 64 bit os (and the SP3 is 64bit) then use

 

C:\Windows\Sysnative\pnputil.exe as the path

 

cheers

niall

Hi,

thanks for the hint, does it mean that the ps should look like the one below:?

 

$ScriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$files = get-childitem -path $Scriptpath -recurse -filter *.inf
foreach ($file in $files)
{
Write-host "Injecting driver $file"
C:\Windows\System32\pnputil.exe -i -a $file.FullName
}
Write-Host "Press Enter to continue"
read-host

Share this post


Link to post
Share on other sites

I think you should use SysNative instead like so

 

http://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm

 

If you for example specify this folder path in your application's source code:

C:\Windows\Sysnative


the following folder path is actually used:

C:\Windows\System32
  • Like 1

Share this post


Link to post
Share on other sites

 

I think you should use SysNative instead like so

 

http://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm

 

If you for example specify this folder path in your application's source code:

 

C:\Windows\Sysnative

 

the following folder path is actually used:

 

C:\Windows\System32

 

Great, works like a charm! thanks a lot! :)

Share this post


Link to post
Share on other sites

Hey Niall,

 

Thanks for your help so far. Running into an issue where after my task sequence completes i cannot alter lock screen preview, input a picture password, or do windows update. They just hang when you try to do any of them.

 

The task sequence is pretty basic:

 

On7H9nZ.png

I've tried adding an unattend.xml but with or without it the TS completes fine and the lock screen / picture password / windows updates still do not work.

 

My boss removed all the basic apps from the surface and sysprepped the machine and all of a sudden all the options were working again.

 

Any ideas? This is super frustrating.

 

Thanks,

 

Tom

Share this post


Link to post
Share on other sites

ok so post your working solution here so others can benefit :-)

 

Hope it will help ...

What was done:

Extracted the driver pack and put the PS script on top:

see borrowed picture (thanks for that) http://goo.gl/1JiZ41

 

then ...

 

Made a package ...

  • Package properties:

    Data Source tab: This package contains source files \\sccm\sources\...

​Created program with following settings:

  • General tab:

    - Command line: Powershell.exe -executionpolicy Bypass -file .\InstallDrivers.ps1

    - Run: Normal

    - After Running: No action

  • Environment tab:

    - Program can run: Only when a user is logged on;

    - Run Mode: Run with administrative rights;

    - Ticked: Allow users to interact with this program;

    - Drive mode: Runs with UNC name;

  • Advanced tab:

    - Run once for the computer;

    - Ticked: Suppress program notifications;

Distributed Content into DPs;

 

Deployed to existing test collection;

 

Deployment settings:

- Action:Install;

- Purpose: Available;

 

PowerShell:

$ScriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$files = get-childitem -path $Scriptpath -recurse -filter *.inf
foreach ($file in $files)
{
Write-host "Injecting driver $file"
C:\Windows\Sysnative\pnputil.exe -i -a $file.FullName
}

Write-Host "Press Enter to continue"

read-host

Also, under Administration -> Client Settings -> Computer Agent: set PowerShell execution Policy to: Bypass

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.