Skip to content

Commit

Permalink
Version 1.6.0 (2021-11-03)
Browse files Browse the repository at this point in the history
- changelog for complete description
  • Loading branch information
DavidGeeraerts committed Nov 3, 2021
1 parent 252cad3 commit b9a9139
Show file tree
Hide file tree
Showing 5 changed files with 313 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ignore files

module_system_SysPrep_dev.cmd
*_dev.cmd
*.backup
*.old
27 changes: 25 additions & 2 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,36 @@

---

## Version 1.5.0 (2021-07-09)
## Version 1.6.0 (2021-11-03)
#### Added
- Windows build information
- switch for unattend use file
- Windows recon info
- Imaging tool and auto generate image name
- time stamps to logs
- APX sub-routines for APX removal that break Sysprep
- Error catching
- panther folder copied to log folder

### Changed
- Order of the parameters: Customer User is now Param #1
- Default timeout to 5 sec
- name to default user
- Logging names and variables
- How flash drive is handled
- banner
- log formatting
- Logging happens where program is executed.

### Removed
- Auto start for script

---


## Version 1.5.0 (2021-07-09)
### Changed
- Order of the parameters: Customer User is now Param #1

## Version 1.4.0 (2020-11-09)
#### Added
- $DEFAULT_USER which is first time log in user; will resort to manual delete if need be.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Example:

##### Notes

- Looks for APX packages that are known to break SysPrep
- [Microsoft has deprecated the GUI for SysPrep since Windows 8.1](https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--system-preparation--overview)
- SysPrep must be run with administrative privilege
- module_system_SysPrep logs will be saved here for archive:
Expand Down
15 changes: 15 additions & 0 deletions Windows_Appx_Package_CleanUp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This must be done right before running sysprep
## Needs to be performed for local administrator
Get-AppxPackage Microsoft.OneDriveSync | Remove-AppxPackage
Get-AppxPackage MicrosoftWindows.Client.WebExperience | Remove-AppxPackage


# Get package full name
@powershell Get-AppxPackage Microsoft.OneDriveSync | FIND /I "PackageFullName"
@powershell Remove-AppxPackage <$PackageFullName>

@powershell Get-AppxPackage MicrosoftWindows.Client.WebExperience | FIND /I "PackageFullName"

FOR /F "tokens=3 delims= " %P IN ('@powershell Get-AppxPackage MicrosoftWindows.Client.WebExperience ^| FIND /I "PackageFullName"') DO SET $PACKAGE_NAME=%P

@powershell Remove-AppxPackage %$PACKAGE_NAME%
Loading

0 comments on commit b9a9139

Please sign in to comment.