Skip to content

Commit 3f49c3f

Browse files
committed
[Unattended answer file/DTSS] Add MSStore apps update starter script
1 parent 691f1f9 commit 3f49c3f

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

DISMTools.vbproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@
12011201
<None Include="docs\css\fonts\Roboto-Slab-Regular.woff2" />
12021202
<None Include="docs\search\search_index.json" />
12031203
<None Include="docs\sitemap.xml.gz" />
1204+
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Update Microsoft Store Apps.dtss" />
12041205
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Invoke WinUtil configuration.dtss" />
12051206
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Set up a custom wallpaper.dtss" />
12061207
<None Include="Helpers\dthelper.bat">
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Language: Batch
2+
3+
@echo off
4+
echo Updating all Microsoft Store applications. This could take a while...
5+
powershell -command Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" ^| Invoke-CimMethod -MethodName UpdateScanMethod >nul 2>&1
6+
echo Showing updates page...
7+
start ms-windows-store://downloadsandupdates

0 commit comments

Comments
 (0)