Questions tagged [sysprep]
48 questions
21
votes
3 answers
What's the Hash in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.\UserChoice?
With Windows 8, the user's choice for which application to open for a given document type seems to be kept in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\\UserChoice
For PDFs on my machine, this…

Adrian Taylor
- 4,054
- 2
- 24
- 26
3
votes
0 answers
Partial sysprep when creating Windows AMI
tdlr; I want to create an AMI with "partial sysprep" so that SSM can connect when I launch a different Instance Type than the original off that AMI, but want to keep all else equal. It only needs to update metadata/kms routes.
I recently hit an…

roxbury
- 31
- 4
2
votes
4 answers
Sysprep an Azure VM using PowerShell task in a pipeline
My (dotNET) application is built (using a Windows Hosted agent), from a build pipeline, and in the subsequent Release pipeline, I provision a 16GB-Win2016 VM (enabling RDP, HTTP, HTTPS, WinRM and SSH), into which I RDP manually (there is a Manual…

Anonymous Person
- 1,437
- 8
- 26
- 47
2
votes
1 answer
Remove-AppxPackage for all users
I would like to remove the Fitbit package from the Microsoft Store apps in Window 10.
I have -allusers in the Powershell command but it's telling me Fitbit isn't in the current user.
I don't care what user it's in. I would like to find out why it…

Docfxit
- 137
- 3
- 6
- 15
2
votes
1 answer
Sysprep failure on windows.miracastview
When trying to sysprep and windows 10 (1709) build I get the following error:
Package Windows.MiracastView_6.3.0.0_neutral_cw5n1h2txyewy was installed for a
user but not provisioned for all users. This package will not function
properly in the…

JD.
- 15,171
- 21
- 86
- 159
1
vote
1 answer
How to login with different user credential while creating GCE instance using powershell startup script
I am trying following-->
Creating GCE instance via gcloud cmds
As a metadata I am providing ps1 scripts which is creating User and adding to required domain
Once user created I need to use that user credential and run few commands as…

vikesh
- 96
- 2
- 9
1
vote
1 answer
Generating a password for a generalized Windows Server instance on OCI
It is my understanding that the Oracle default Windows server images leverage Cloudbase-Init alongside an Unattend.xml file to generate a password for the user, but I am curious about the specifics of this as I am attempting to create my own images…

Calum Bird
- 11
- 4
1
vote
1 answer
Run SysPrep remotely through commands from Azure powershell
I want to run some commands to do Sysprep remotely through powershell.
So first I created a session using this:
$UserName = "IPAddress\username"
$Password = ConvertTo-SecureString "password" -AsPlainText -Force
$psCred = New-Object…

CrazyCoder
- 2,194
- 10
- 44
- 91
1
vote
0 answers
Sysprep failed because of Miracastview
When I run sysprep on Windows 10, I am getting below error in the log file:
Package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in…

Hackengineer
- 11
- 3
1
vote
4 answers
Call to 169.254.169.254/latest/meta-data/instance-id fails in AWS deployment script
I'm using some scripts based on http://blog.brianbeach.com/2014/07/setting-hostname-in-syspreped-ami.html to set the Host Name of a new windows instance created from an AMI to be the Name tag of the instance. Instead of HKLM:\System\Setup pointing…

Ben Curthoys
- 741
- 7
- 20
1
vote
2 answers
Ec2Config.exe -sysprep VIA powershell Script
So I am attempting to use Amazons Ec2Config.exe -sysprep command to sysprep an instance and prepare it to be cloned into a new AMI with the programs I require installed. The following are the last two lines of code I run in this particular…

Wolverine
- 33
- 5
1
vote
1 answer
Moving Servers to IaaS without sysprep azure-virtual-machine
azure-virtual-machine
Hello,
I am moving a bunch of servers from my datacentre to azure. Servers are test & development sharepoint & SQL. depending on how successful the migration is we will consider moving additional servers.
for this i have setup…

Sachin
- 65
- 2
- 6
1
vote
0 answers
Failure provisioning a vm
I have an on prem sysprepped vhd with which I am trying to create a vm in azure. I am running into all kinds of errors and I am solving one after the other. Now, I actually have an error which is not making any sense to me.
New-AzureRmVM : Long…

Monkey D Luffy
- 94
- 3
- 11
1
vote
0 answers
Launching Sysprep from HTA with Run method fails
I have three files:
test.vbs
Set objFileSystem = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
st = ""
windir = objShell.ExpandEnvironmentStrings("%windir%")
stCommand = windir &…

Nikolai Peskov
- 47
- 1
- 4
1
vote
0 answers
MDT - Disable auto login of default administrator account in the task sequence
In my task sequence for a deployment of a captured image of Windows 7 Pro, I have a step that disables the default administrator account. I also have a step that elevates another account dubbed 'localadmin' as an administrator. Unfortunately it's…

slumpmonkey
- 79
- 1
- 4
- 11