Fresh Win 10 install - doesn't include crapware
-
@Jason said:
@Dashrender said:
now if only there was a way to get the registry change into the ISO... LOL
Have you checked https://www.ntlite.com/features/ to see if it can?
No, not really, because I'm only half serious about it.
though I do believe there is a file you can include in the root of the DVD/USB drive that Windows will read during install - at least I think this function was something that existed a long time ago. - that might be able to do this...
-
@Dashrender just tried this and it failed
-
@JaredBusch said:
@Dashrender just tried this and it failed
Because I missed adding the CloudContent key prior to adding the dword.
Windows updates in process no crapware yet.
-
Clean install did reg hack, nothing added, sysprep worked perfectly.
made image and pushed onto test desktop. worked perfectly.
rolled VM back to pre-sysprep and then installed Office, and a bunch of other software.
sysprep ran perfectly.
made image and pushed onto test desktop. windows failed to install correctly.
f[moderated] it all...
-
how did it fail?
Can you provide a full list of installed software?
Did the VM boot backup after the sysprep?
-
@Dashrender said:
Did the VM boot backup after the sysprep?
No, I clearly stated, I rolled it back after i made the image.
-
@JaredBusch said:
@Dashrender said:
Did the VM boot backup after the sysprep?
No, I clearly stated, I rolled it back after i made the image.
you said you rolled it back after the first test, so you did again after teh second one too?
-
@Dashrender said:
how did it fail?
Can you provide a full list of installed software?
.net2/3.5 feature added
Office 2010
PDF Creator 1.2
ScreenConnect
Jet Essentials (plugin for Excel)
MS Dynamics NAV
Vendor specific NAV tool box
7zip
greenshot
webrootRechecked windows updates
rebooted
rechecked again rebooted.Just annoyed that it failed. I can test the image on a VM after each application, but that is annoying as f[moderated].
-
@Dashrender said:
@JaredBusch said:
@Dashrender said:
Did the VM boot backup after the sysprep?
No, I clearly stated, I rolled it back after i made the image.
you said you rolled it back after the first test, so you did again after teh second one too?
After sysprep? yes. but that is not relevant to the install failing on a piece of hardware.
Seriously no idea why you are hung up on this. it has zero bearing on anything.
-
I am wondering if the failure was hardware or software based.. if the sysprep on the VM failed to restart "normally" then you know for sure it's software related... time to look at services or drivers that installed with the added software.
-
my suspects would be Webroot and Screenconnect.
I've installed Panda AV on my images in the past with no issues, but not LMI, of course, they are not the exactly same software.. so no telling if it's relevant.
-
@Dashrender said:
my suspects would be Webroot and Screenconnect.
I've installed Panda AV on my images in the past with no issues, but not LMI, of course, they are not the exactly same software.. so no telling if it's relevant.
Certainly not ScreenConnect suspected unless it is something new. Reason: I had to look up how to fix it reusing it's internal machine ID after sysprep. That is a registry edit prior to sysprep (just FYI).
-
here's another tip for decrapafying Windows 10.
You can change this via GPO, you might even be able to put it in a golden image in the default user.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
SystemPaneSuggestionsEnabled DWORD
0 = Off
1 = On -
@Dashrender said in Fresh Win 10 install - doesn't include crapware:
So JB and I are working on fixing some sysprep issues. One issue as seen around these forums is that Sysprep gives errors if Candy Crush and other consumerware are installed into the profile of the user running Sysprep.
So I went in search of a way to prevent that garbage from being install ever!I found http://winaero.com/blog/fix-windows-10-installs-apps-like-candy-crush-soda-saga-automatically/
Here's the technet article - https://blogs.technet.microsoft.com/mniehaus/2015/11/23/seeing-extra-apps-turn-them-off/
Basically it says to start with the most recent ISO from MS possible, Install Windows while completely off the net, then create a new key in the registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent
If that key isn't there, create it
Create a D-Word 32 Bit named DisableWindowsConsumerFeatures with a value of 1Now reboot.
After you've rebooted go online. With luck the system won't download the crap ware... I'll be reporting soon with my results.This is not appearing to work with 1703 - Creators Update.
I installed 1703 without network into a VM.
Logged in
Created key
Rebooted
Added network
Rebooted
It started downloading things. -
I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.
-
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.
I honestly do not care if the crap is there or not.
But
sysprep
fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue. -
@JaredBusch said in Fresh Win 10 install - doesn't include crapware:
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.
I honestly do not care if the crap is there or not.
But
sysprep
fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.
If you don't remove the app using the bottom "-online" part, it'll be there for new users.
-
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
@JaredBusch said in Fresh Win 10 install - doesn't include crapware:
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.
I honestly do not care if the crap is there or not.
But
sysprep
fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.
If you don't remove the app using the bottom "-online" part, it'll be there for new users.
Twitter also broke sysprep.
-
@JaredBusch said in Fresh Win 10 install - doesn't include crapware:
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
@JaredBusch said in Fresh Win 10 install - doesn't include crapware:
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.
I honestly do not care if the crap is there or not.
But
sysprep
fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.
If you don't remove the app using the bottom "-online" part, it'll be there for new users.
Twitter also broke sysprep.
Get-AppxPackage -AllUsers *AdobePhotoshopExpress* | Remove-AppxPackage Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage Get-AppxPackage -AllUsers *Duolingo* | Remove-AppxPackage Get-AppxPackage -AllUsers *EclipseManager* | Remove-AppxPackage Get-AppxPackage -AllUsers *FarmVille* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.3DBuilder* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.BingNews* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.BingTranslator* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.BingWeather* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.FreshPaint* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.Getstarted* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.Messaging* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.MicrosoftOfficeHub* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.MicrosoftSolitaireCollection* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.NetworkSpeedTest* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.Office.OneNote* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.People* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.SkypeApp* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.WindowsAlarms* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.WindowsMaps* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.XboxApp* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.ZuneMusic* | Remove-AppxPackage Get-AppxPackage -AllUsers *Microsoft.ZuneVideo* | Remove-AppxPackage Get-AppxPackage -AllUsers *Netflix* | Remove-AppxPackage Get-AppxPackage -AllUsers *PandoraMediaInc* | Remove-AppxPackage Get-AppxPackage -AllUsers *PicsArt* | Remove-AppxPackage Get-AppxPackage -AllUsers *Twitter* | Remove-AppxPackage Get-AppxPackage -AllUsers *Wunderlist* | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*AdobePhotoshopExpress*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Duolingo*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*EclipseManager*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*FarmVille*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.3DBuilder*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.BingNews*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.BingTranslator*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.BingWeather*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.FreshPaint*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.Getstarted*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.Messaging*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.MicrosoftOfficeHub*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.MicrosoftSolitaireCollection*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.NetworkSpeedTest*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.Office.OneNote*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.People*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.SkypeApp*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.WindowsAlarms*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.WindowsFeedbackHub*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.WindowsMaps*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.XboxApp*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.ZuneMusic*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.ZuneVideo*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Netflix*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*PandoraMediaInc*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*PicsArt*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Twitter*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName} Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Wunderlist*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
-
@JaredBusch said in Fresh Win 10 install - doesn't include crapware:
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
@JaredBusch said in Fresh Win 10 install - doesn't include crapware:
@Tim_G said in Fresh Win 10 install - doesn't include crapware:
I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.
I honestly do not care if the crap is there or not.
But
sysprep
fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.
If you don't remove the app using the bottom "-online" part, it'll be there for new users.
Twitter also broke sysprep.
I am still doing windows updates and such on this box. I will try sysprep with nothing more than that key added.
Just to see if it fails or not.