Skip to content

Commit 938c8a9

Browse files
authored
Updating documentation (Pre v0.5.8) (#15)
This is a PR to prepare for an upcoming v0.5.8 release. - Additional documentation for Intune setup. - Updated dependabot config to use latest actions/checkout version.
1 parent 7b0b9e7 commit 938c8a9

File tree

8 files changed

+60
-20
lines changed

8 files changed

+60
-20
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ updates:
1212
interval: "weekly"
1313
day: "monday"
1414
time: "09:00"
15-
labels:
16-
- "dependencies"
17-
- "github-actions"
15+
# No labels configured so Dependabot won't fail if these labels don't exist in the repo
1816
open-pull-requests-limit: 5
1917
commit-message:
2018
prefix: "chore(deps)"

.github/workflows/devskim.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
security-events: write
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2727

2828
- name: Run DevSkim scanner
2929
uses: microsoft/DevSkim-Action@v1

.github/workflows/powershell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: PSScriptAnalyzer
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333

3434
- name: Run PSScriptAnalyzer
3535
uses: microsoft/psscriptanalyzer-action@6b2948b1944407914a58661c49941824d149734f

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10+
## [0.5.8] - 2025-11-25
11+
12+
### Added
13+
- Additional documentation for Intune setup.
14+
15+
### Changed
16+
- Updated dependabot config to use latest actions/checkout version.
17+
1018
## [0.5.7] - 2025-11-21
1119

1220
### Added

Docs/Intune-Autopilot-Setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ Before creating Device Preparation Policies, ensure you have set up any required
8888

8989
Example image: ![Intune scripts](./Intune%20configuration/Intune-scripts.png)
9090

91-
**Note on OOBE Script**: For customizing the Out-of-Box Experience (OOBE), refer to the [Skip-OOBEPrivacy-Intune.ps1](./Scripts/Intune/Platform%20scripts/Skip-OOBEPrivacy-Intune.ps1) script. This can be added to Device Preparation Policies to skip privacy questions and accelerate provisioning.
92-
91+
**Note on OOBE Script**: For customizing the Out-of-Box Experience (OOBE), refer to the [Skip-OOBEPrivacy-Intune.ps1](../Scripts/Intune/Platform%20scripts/Skip-OOBEPrivacy-Intune.ps1) script. This can be added to Device Preparation Policies to skip privacy questions and accelerate provisioning.
9392

9493
### 7. Configure MDM Enrollment for User Groups
9594
1. Go to the Microsoft Intune admin center at [https://intune.microsoft.com](https://intune.microsoft.com).
@@ -180,3 +179,4 @@ Finally, ensure users are added to the appropriate groups created earlier. This
180179
- If the "Intune Provisioning Client" is not found, ensure Intune is properly set up in your tenant and that you have the necessary licenses.
181180
- Verify group configurations in the Microsoft Entra portal.
182181
- For permission issues, contact your Microsoft Entra administrator.
182+
Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
3-
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=nl-NL&Locale=nl-NL&Keyboard=00020409&GeoLocation=176&ProcessorArchitecture=amd64&ProcessorArchitecture=arm64&HidePowerShellWindows=true&ComputerNameMode=Script&ComputerNameScript=%23+Get+the+serialnumber+of+the+machine+via+the+CIMinstance+cmdlet%0D%0A%24serial+%3D+%28Get-CimInstance+Win32_BIOS%29.SerialNumber%0D%0A%0D%0A%23+Format+the+serialnumber+to+give+back+the+last+5+characters+prefixed+with+%27PC-%27%0D%0Areturn+%27PC-%7B0%7D%27+-f+%24serial.Substring%28%24serial.Length+-+5%29%0D%0A&CompactOsMode=Default&TimeZoneMode=Explicit&TimeZone=W.+Europe+Standard+Time&PartitionMode=Interactive&DiskAssertionMode=Skip&WindowsEditionMode=Generic&WindowsEdition=pro&InstallFromMode=Automatic&PEMode=Default&UserAccountMode=Unattended&AccountName0=DenkoAdmin&AccountDisplayName0=&AccountPassword0=&AccountGroup0=Administrators&AutoLogonMode=Own&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=Hidden&ShowFileExtensions=true&LaunchToThisPC=true&ShowEndTask=true&TaskbarSearch=Label&TaskbarIconsMode=Default&DisableWidgets=true&DisableBingResults=true&StartTilesMode=Default&StartPinsMode=Default&EnableLongPaths=true&DisableLastAccess=true&HideEdgeFre=true&DisableEdgeStartupBoost=true&DeleteWindowsOld=true&EffectsMode=Default&DesktopIconsMode=Custom&IconRecycleBin=true&IconThisPC=true&StartFoldersMode=Custom&StartFolderSettings=true&WifiMode=Skip&ExpressSettings=DisableAll&LockKeysMode=Configure&CapsLockInitial=Off&CapsLockBehavior=Toggle&NumLockInitial=On&NumLockBehavior=Toggle&ScrollLockInitial=Off&ScrollLockBehavior=Toggle&StickyKeysMode=Disabled&ColorMode=Custom&SystemColorTheme=Dark&AppsColorTheme=Dark&AccentColor=%230078d4&WallpaperMode=Default&LockScreenMode=Default&Remove3DViewer=true&RemoveBingSearch=true&RemoveClipchamp=true&RemoveCopilot=true&RemoveCortana=true&RemoveDevHome=true&RemoveFamily=true&RemoveFeedbackHub=true&RemoveGameAssist=true&RemoveInternetExplorer=true&RemoveMailCalendar=true&RemoveMaps=true&RemoveMediaFeatures=true&RemoveMixedReality=true&RemoveZuneVideo=true&RemoveNews=true&RemoveOffice365=true&RemoveOneNote=true&RemoveOneSync=true&RemoveOutlook=true&RemovePaint3D=true&RemovePeople=true&RemovePowerShell2=true&RemovePowerShellISE=true&RemoveRecall=true&RemoveSkype=true&RemoveSolitaire=true&RemoveStepsRecorder=true&RemoveStickyNotes=true&RemoveGetStarted=true&RemoveToDo=true&RemoveVoiceRecorder=true&RemoveWallet=true&RemoveWeather=true&RemoveFaxAndScan=true&RemoveWindowsMediaPlayer=true&RemoveWordPad=true&RemoveXboxApps=true&RemoveYourPhone=true&FirstLogonScript0=Start-Process+powershell.exe+-ArgumentList+%22-NoExit+-ExecutionPolicy+Bypass+-Command+%60%22iex+%28irm+%28%27https%3A%2F%2Fraw.githubusercontent.com%2FStensel8%2FWinDeploy%2F%27+%2B+%28irm+%27https%3A%2F%2Fapi.github.com%2Frepos%2FStensel8%2FWinDeploy%2Freleases%2Flatest%27%29.tag_name+%2B+%27%2FScripts%2FStart.ps1%27%29%29%60%22%22+-Wait%0D%0A&FirstLogonScriptType0=Ps1&WdacMode=Skip-->
3+
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=nl-NL&Locale=nl-NL&Keyboard=00020409&GeoLocation=176&ProcessorArchitecture=amd64&ProcessorArchitecture=arm64&HidePowerShellWindows=true&ComputerNameMode=Script&ComputerNameScript=%23+Get+the+serialnumber+of+the+machine+via+the+CIMinstance+cmdlet%0D%0A%24serial+%3D+%28Get-CimInstance+Win32_BIOS%29.SerialNumber%0D%0A%0D%0A%23+Format+the+serialnumber+to+give+back+the+last+5+characters+prefixed+with+%27PC-%27%0D%0Areturn+%27PC-%7B0%7D%27+-f+%24serial.Substring%28%24serial.Length+-+5%29%0D%0A&CompactOsMode=Default&TimeZoneMode=Explicit&TimeZone=W.+Europe+Standard+Time&PartitionMode=Interactive&DiskAssertionMode=Skip&WindowsEditionMode=Generic&WindowsEdition=pro&InstallFromMode=Automatic&PEMode=Default&UserAccountMode=Unattended&AccountName0=DenkoAdmin&AccountDisplayName0=&AccountPassword0=&AccountGroup0=Administrators&AutoLogonMode=Own&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=Hidden&ShowFileExtensions=true&LaunchToThisPC=true&ShowEndTask=true&TaskbarSearch=Label&TaskbarIconsMode=Default&DisableWidgets=true&DisableBingResults=true&StartTilesMode=Default&StartPinsMode=Default&EnableLongPaths=true&DeleteJunctions=true&DisableLastAccess=true&HideEdgeFre=true&DisableEdgeStartupBoost=true&DeleteWindowsOld=true&EffectsMode=Default&DesktopIconsMode=Custom&IconRecycleBin=true&IconThisPC=true&StartFoldersMode=Custom&StartFolderSettings=true&WifiMode=Skip&ExpressSettings=DisableAll&LockKeysMode=Configure&CapsLockInitial=Off&CapsLockBehavior=Toggle&NumLockInitial=On&NumLockBehavior=Toggle&ScrollLockInitial=Off&ScrollLockBehavior=Toggle&StickyKeysMode=Disabled&ColorMode=Custom&SystemColorTheme=Dark&AppsColorTheme=Dark&AccentColor=%230078d4&WallpaperMode=Default&LockScreenMode=Default&Remove3DViewer=true&RemoveBingSearch=true&RemoveClipchamp=true&RemoveCopilot=true&RemoveCortana=true&RemoveDevHome=true&RemoveFamily=true&RemoveFeedbackHub=true&RemoveGameAssist=true&RemoveInternetExplorer=true&RemoveMailCalendar=true&RemoveMaps=true&RemoveMediaFeatures=true&RemoveMixedReality=true&RemoveZuneVideo=true&RemoveNews=true&RemoveOffice365=true&RemoveOneNote=true&RemoveOneSync=true&RemoveOutlook=true&RemovePaint3D=true&RemovePeople=true&RemovePowerShell2=true&RemovePowerShellISE=true&RemoveRecall=true&RemoveSkype=true&RemoveSolitaire=true&RemoveStepsRecorder=true&RemoveStickyNotes=true&RemoveGetStarted=true&RemoveToDo=true&RemoveVoiceRecorder=true&RemoveWallet=true&RemoveWeather=true&RemoveFaxAndScan=true&RemoveWindowsMediaPlayer=true&RemoveWordPad=true&RemoveXboxApps=true&RemoveYourPhone=true&FirstLogonScript0=Start-Process+powershell.exe+-ArgumentList+%22-NoExit+-ExecutionPolicy+Bypass+-Command+%60%22iex+%28irm+%28%27https%3A%2F%2Fraw.githubusercontent.com%2FStensel8%2FWinDeploy%2F%27+%2B+%28irm+%27https%3A%2F%2Fapi.github.com%2Frepos%2FStensel8%2FWinDeploy%2Freleases%2Flatest%27%29.tag_name+%2B+%27%2FScripts%2FStart.ps1%27%29%29%60%22%22+-Wait%0D%0A&FirstLogonScriptType0=Ps1&WdacMode=Skip-->
44
<settings pass="offlineServicing"></settings>
55
<settings pass="windowsPE">
66
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
@@ -543,6 +543,13 @@ $scripts = @(
543543
{
544544
Get-AppxPackage -Name 'Microsoft.Windows.Ai.Copilot.Provider' | Remove-AppxPackage;
545545
};
546+
{
547+
@(
548+
Get-ChildItem -LiteralPath $env:USERPROFILE -Force -Recurse -Depth 2;
549+
) | Where-Object -FilterScript {
550+
$_.Attributes.HasFlag( [System.IO.FileAttributes]::ReparsePoint );
551+
} | Remove-Item -Force -Recurse -Verbose;
552+
};
546553
{
547554
Set-ItemProperty -LiteralPath 'Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name 'LaunchTo' -Type 'DWord' -Value 1;
548555
};
@@ -677,6 +684,17 @@ $scripts = @(
677684
{
678685
Set-ItemProperty -LiteralPath 'Registry::HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name 'AutoLogonCount' -Type 'DWord' -Force -Value 0;
679686
};
687+
{
688+
@(
689+
Get-ChildItem -LiteralPath 'C:\' -Force;
690+
Get-ChildItem -LiteralPath 'C:\Users' -Force;
691+
Get-ChildItem -LiteralPath 'C:\Users\Default' -Force -Recurse -Depth 2;
692+
Get-ChildItem -LiteralPath 'C:\Users\Public' -Force -Recurse -Depth 2;
693+
Get-ChildItem -LiteralPath 'C:\ProgramData' -Force;
694+
) | Where-Object -FilterScript {
695+
$_.Attributes.HasFlag( [System.IO.FileAttributes]::ReparsePoint );
696+
} | Remove-Item -Force -Recurse -Verbose;
697+
};
680698
{
681699
cmd.exe /c "rmdir C:\Windows.old";
682700
};

README.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,30 @@
1414

1515
Zero-touch Windows deployment with automatic driver updates, application installation, bloatware removal, and system configuration. Deploy via USB, network, RMM agents, or AutoUnattend.xml.
1616

17-
![Terminal showing begin of deployment](Docs/Deployment_Flow.png)
17+
## Deployment options
1818

19-
![Terminal showing a short demo of the deployment process](Docs/WinDeploy-Demo.gif)
19+
Choose how you want to deploy WinDeploy — pick the path that fits your environment.
2020

21-
![Terminal showing successful deployment](Docs/Deployment_Success.png)
21+
| Local (USB / One-liner) | Intune / Autopilot |
22+
|---|---|
23+
| Deploy locally via USB, [`autounattend.xml`](Docs/autounattend.xml), or [one-liner script](#quick-start). | Deploy via [Intune Autopilot](Docs/Intune-Autopilot-Setup.md), targeting usergroups. |
24+
| [![Get started - Local](https://img.shields.io/badge/Get%20started-Local-blue?style=for-the-badge)](#quick-start) | [![Get started - Intune](https://img.shields.io/badge/Get%20started-Intune-brightgreen?style=for-the-badge)](Docs/Intune-Autopilot-Setup.md) |
2225

23-
![Clean Windows after successful deployment](Docs/Expected_Result.png)
26+
27+
<details open>
28+
<summary>View deployment screenshots</summary>
29+
30+
<br>
31+
32+
| Deployment Start | Live Demo |
33+
|-----------------|-----------|
34+
| <img src="Docs/Deployment_Flow.png" alt="Deployment start" width="400" height="225"> | <img src="Docs/WinDeploy-Demo.gif" alt="Deployment demo" width="400" height="225"> |
35+
36+
| Successful Completion | Expected Result |
37+
|----------------------|-----------------|
38+
| <img src="Docs/Deployment_Success.png" alt="Deployment success" width="400" height="225"> | <img src="Docs/Expected_Result.png" alt="Clean Windows" width="400" height="225"> |
39+
40+
</details>
2441

2542

2643
---
@@ -30,13 +47,12 @@ Zero-touch Windows deployment with automatic driver updates, application install
3047
**Prerequisites:** Windows 11 Pro 24H2+, PowerShell 7, internet connection
3148

3249
### Option 1: USB Deployment (Fresh installs)
33-
```powershell
34-
# 1. Create bootable Windows 11 USB
35-
# 2. Copy autounattend.xml to USB root
36-
# 3. (Optional) Copy RMM agent as Agent.exe to USB root
37-
# 4. Boot from USB with network connected. Make sure to keep the USB drive connected until deployment is complete.
38-
# 5. Wait - everything happens automatically
39-
```
50+
1. Create bootable Windows 11 USB
51+
2. Copy autounattend.xml to USB root
52+
3. (Optional) Copy RMM agent as Agent.exe to USB root
53+
4. Boot from USB with network connected. Make sure to keep the USB drive connected until deployment is complete.
54+
5. Wait - everything happens automatically
55+
4056

4157
### Option 2: Direct Execution (Existing or fresh installs)
4258
```powershell

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.5.7
1+
v0.5.8

0 commit comments

Comments
 (0)