Skip to content

Commit

Permalink
Version 2.2.3 (2022-10-13)
Browse files Browse the repository at this point in the history
- bug fix
  • Loading branch information
DavidGeeraerts committed Oct 13, 2022
1 parent fa25003 commit c595bf3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 6 additions & 2 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@

---

## Version 2.2.3 (2022-10-10)
#### Added
- Check for APPX OneDrive Package and reset package variable due to truncation

---

## Version 2.2.2 (2022-07-08)
#### Fixed
- APPX with -AllUsers

#### Changed
- APPX package query goes to file

---


## Version 2.2.1 (2022-06-03)
#### Fixed
Expand Down
7 changes: 5 additions & 2 deletions module_system_SysPrep.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
@echo Off
SETLOCAL Enableextensions
SET $SCRIPT_NAME=module_system_SysPrep
SET $SCRIPT_VERSION=2.2.2
SET $SCRIPT_BUILD=20220708 0800
SET $SCRIPT_VERSION=2.2.3
SET $SCRIPT_BUILD=20221013 1415
Title %$SCRIPT_NAME% Version: %$SCRIPT_VERSION%
mode con:cols=70
mode con:lines=40
Expand Down Expand Up @@ -723,6 +723,9 @@ REM This would need to be a scheduled task to run as an administrator
SET /P $PACKAGE_NAME= < "%VD%\PackageFullName.txt"
echo %TIME% [DEBUG] $PACKAGE_NAME: %$PACKAGE_NAME% >> "%$LD%\%$MODULE_LOG%"
IF NOT DEFINED $PACKAGE_NAME GoTo skipAPX1
REM temporary fix for Windows 11
echo Microsoft.OneDriveSync_21220.1024.5.0_neutral__8wekyb3d8bbwe | Find "%$PACKAGE_NAME%"
IF %ERRORLEVEL% EQU 0 SET $PACKAGE_NAME=Microsoft.OneDriveSync_21220.1024.5.0_neutral__8wekyb3d8bbwe
@powershell Remove-AppxPackage -AllUsers -Package %$PACKAGE_NAME% 2> nul
:skipAPX1
:: MicrosoftWindows.Client.WebExperience
Expand Down

0 comments on commit c595bf3

Please sign in to comment.