Correction de la façon de désactiver Bitlocker

Désactivation du délai écran noir sur secteur
Suppression de unattend.xml qui reste par endroit avec le mot de passe admin
Mise en place du numéro de version dans le pied de page à droite.
Reste à finaliser le contrôle de mise à jour disponible.
This commit is contained in:
benoit committed 2026-10-19 20:44:58 +02:00
1 parent 5a121718d4
commit a765701fed
8 files changed
+251 -21

No files matched your search

+21 -7
View File
@@ -5,30 +5,37 @@
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<ComputerName></ComputerName>
</component>
<component name="microsoft-windows-securestartup-filterdriver-" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<PreventDeviceEncryption>true</PreventDeviceEncryption>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Disable BitLocker early</Description>
<Path>cmd.exe /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\BitLocker" /v PreventDeviceEncryption /t REG_DWORD /d 1 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Enable NumLock on the sign-in screen</Description>
<Path>cmd.exe /c reg add "HKU\.DEFAULT\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Order>3</Order>
<Description>Enable NumLock for new users</Description>
<Path>cmd.exe /c reg load HKU\DeployCenterDefaultUser "%SystemDrive%\Users\Default\NTUSER.DAT" &amp;&amp; reg add "HKU\DeployCenterDefaultUser\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f &amp;&amp; reg unload HKU\DeployCenterDefaultUser</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Order>4</Order>
<Description>Disable hibernation</Description>
<Path>cmd.exe /c powercfg.exe /hibernate off</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Order>5</Order>
<Description>Disable automatic sleep on AC power</Description>
<Path>cmd.exe /c powercfg.exe /change standby-timeout-ac 0</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>6</Order>
<Description>Disable monitor timeout on AC power</Description>
<Path>cmd.exe /c powercfg.exe /change monitor-timeout-ac 0</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
@@ -66,6 +73,13 @@
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Security purge of unattend files containing passwords</Description>
<CommandLine>cmd.exe /c del /q /f C:\Windows\Panther\unattend.xml &amp; del /q /f C:\Windows\Panther\unattend\unattend.xml &amp; del /q /f C:\Windows\Panther\UnattendGC\unattend.xml &amp; del /q /f C:\Windows\System32\Sysprep\unattend.xml</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>