en-US
040c:0000040c
fr-FR
en-US
fr-FR
1
3
M7XTQ-FN8P6-TTKYV-9D4CC-J462D
true
1
cmd.exe /c ">>"X:\diskpart.txt" echo SELECT DISK=1"
2
cmd.exe /c ">>"X:\diskpart.txt" echo CLEAN"
3
cmd.exe /c ">>"X:\diskpart.txt" echo CONVERT GPT"
4
cmd.exe /c ">>"X:\diskpart.txt" echo CREATE PARTITION EFI SIZE=100"
5
cmd.exe /c ">>"X:\diskpart.txt" echo FORMAT QUICK FS=FAT32 LABEL="System""
6
cmd.exe /c ">>"X:\diskpart.txt" echo CREATE PARTITION MSR SIZE=16"
7
cmd.exe /c ">>"X:\diskpart.txt" echo CREATE PARTITION PRIMARY"
8
cmd.exe /c ">>"X:\diskpart.txt" echo SHRINK MINIMUM=1000"
9
cmd.exe /c ">>"X:\diskpart.txt" echo FORMAT QUICK FS=NTFS LABEL="Windows""
10
cmd.exe /c ">>"X:\diskpart.txt" echo CREATE PARTITION PRIMARY"
11
cmd.exe /c ">>"X:\diskpart.txt" echo FORMAT QUICK FS=NTFS LABEL="Recovery""
12
cmd.exe /c ">>"X:\diskpart.txt" echo SET ID="de94bba4-06d1-4d40-a16a-bfd50179d6ac""
13
cmd.exe /c ">>"X:\diskpart.txt" echo GPT ATTRIBUTES=0x8000000000000001"
14
cmd.exe /c diskpart /s X:\diskpart.txt >> X:\diskpart.log
1
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.Microsoft3DViewer"
2
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Clipchamp.Clipchamp"
3
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.WindowsAlarms"
4
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.WindowsFeedbackHub"
5
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.GetHelp"
6
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.Getstarted"
7
cmd.exe /c ">>"%TEMP%\remove-caps.txt" echo Browser.InternetExplorer"
8
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.WindowsMaps"
9
cmd.exe /c ">>"%TEMP%\remove-caps.txt" echo MathRecognizer"
10
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.BingNews"
11
cmd.exe /c "del "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk""
12
cmd.exe /c "del "C:\Windows\System32\OneDriveSetup.exe""
13
cmd.exe /c "del "C:\Windows\SysWOW64\OneDriveSetup.exe""
14
reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"
15
reg.exe delete "HKU\mount\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f
16
reg.exe unload "HKU\mount"
17
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.Office.OneNote"
18
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.MSPaint"
19
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.People"
20
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.PowerAutomateDesktop"
21
cmd.exe /c ">>"%TEMP%\remove-caps.txt" echo Microsoft.Windows.PowerShell.ISE"
22
cmd.exe /c ">>"%TEMP%\remove-caps.txt" echo App.Support.QuickAssist"
23
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo MicrosoftCorporationII.QuickAssist"
24
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.SkypeApp"
25
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.ScreenSketch"
26
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.MicrosoftSolitaireCollection"
27
cmd.exe /c ">>"%TEMP%\remove-caps.txt" echo App.StepsRecorder"
28
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.MicrosoftStickyNotes"
29
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" /v ConfigureChatAutoInstall /t REG_DWORD /d 0 /f
30
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.Todos"
31
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.WindowsSoundRecorder"
32
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.BingWeather"
33
cmd.exe /c ">>"%TEMP%\remove-caps.txt" echo Microsoft.Windows.WordPad"
34
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.Xbox.TCUI"
35
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.XboxApp"
36
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.XboxGameOverlay"
37
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.XboxGamingOverlay"
38
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.XboxIdentityProvider"
39
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.XboxSpeechToTextOverlay"
40
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.GamingApp"
41
cmd.exe /c ">>"%TEMP%\remove-packages.txt" echo Microsoft.YourPhone"
42
powershell.exe -NoProfile -Command "Get-AppxProvisionedPackage -Online | where DisplayName -In (Get-Content $env:TEMP\remove-packages.txt ) | Remove-AppxProvisionedPackage -Online *>&1 >> $env:TEMP\remove-packages.log;"
43
powershell.exe -NoProfile -Command "Get-WindowsCapability -Online | where {($_.Name -split '~')[0] -in (Get-Content $env:TEMP\remove-caps.txt ) } | Remove-WindowsCapability -Online *>&1 >> $env:TEMP\remove-caps.log;"
44
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^<LayoutModificationTemplate Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"^>"
45
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^<LayoutOptions StartTileGroupCellWidth="6" /^>"
46
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^<DefaultLayoutOverride^>"
47
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^<StartLayoutCollection^>"
48
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^<StartLayout GroupCellWidth="6" xmlns="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" /^>"
49
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^</StartLayoutCollection^>"
50
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^</DefaultLayoutOverride^>"
51
cmd.exe /c ">>"C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" echo ^</LayoutModificationTemplate^>"
52
reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins /t REG_SZ /d "{ \"pinnedList\": [] }" /f
53
reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins_ProviderSet /t REG_DWORD /d 1 /f
54
reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins_WinningProvider /t REG_SZ /d B5292708-1619-419B-9923-E5D9F3925E71 /f
55
reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start" /v ConfigureStartPins /t REG_SZ /d "{ \"pinnedList\": [] }" /f
56
reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start" /v ConfigureStartPins_LastWrite /t REG_DWORD /d 1 /f
57
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1"^>"
58
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<name^>IPR2^</name^>"
59
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<SSIDConfig^>"
60
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<SSID^>"
61
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<hex^>49505232^</hex^>"
62
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<name^>IPR2^</name^>"
63
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</SSID^>"
64
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</SSIDConfig^>"
65
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<connectionType^>ESS^</connectionType^>"
66
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<connectionMode^>auto^</connectionMode^>"
67
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<MSM^>"
68
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<security^>"
69
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<authEncryption^>"
70
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<authentication^>WPA2PSK^</authentication^>"
71
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<encryption^>AES^</encryption^>"
72
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<useOneX^>false^</useOneX^>"
73
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</authEncryption^>"
74
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<sharedKey^>"
75
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<keyType^>passPhrase^</keyType^>"
76
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<protected^>false^</protected^>"
77
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^<keyMaterial^>#2020-kdjeug?^</keyMaterial^>"
78
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</sharedKey^>"
79
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</security^>"
80
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</MSM^>"
81
cmd.exe /c ">>"%TEMP%\wifi.xml" echo ^</WLANProfile^>"
82
netsh.exe wlan add profile filename="%TEMP%\wifi.xml" user=all
83
netsh.exe wlan connect name="IPR2" ssid="IPR2"
84
cmd.exe /c "del "%TEMP%\wifi.xml""
85
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f
86
netsh.exe advfirewall firewall set rule group="Remote Desktop" new enable=Yes
87
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
88
icacls.exe C:\ /remove:g "*S-1-5-11"
89
powershell.exe -NoProfile -Command "Set-ExecutionPolicy -Scope 'LocalMachine' -ExecutionPolicy 'RemoteSigned' -Force;"
90
fsutil.exe behavior set disableLastAccess 1
91
reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 4 /f
92
reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
93
reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"
94
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "UserFirstLogon" /t REG_SZ /d "C:\Windows\Setup\Scripts\UserFirstLogon.cmd" /f
95
reg.exe unload "HKU\mount"
96
reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"
97
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f
98
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f
99
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f
100
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f
101
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f
102
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f
103
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f
104
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f
105
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f
106
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f
107
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f
108
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f
109
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f
110
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f
111
reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f
112
reg.exe unload "HKU\mount"
113
reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f
IPR-PC
Romance Standard Time
040c:0000040c
fr-FR
en-US
fr-FR
Admin
Administrators
Lprsnm4ehk26-
true
Prof
Users
IPRprof2398
true
Eleve
Users
eleve
true
3
true