Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.
von Holgi » 18.01.2025, 17:35
Code: Alles auswählen
@Echo off :: BatchGotAdmin :------------------------------------- REM --> Check for permissions IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" ( >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system" ) ELSE ( >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" ) REM --> If error flag set, we do not have admin. if '%errorlevel%' NEQ '0' ( echo Requesting administrative privileges... goto UACPrompt ) else ( goto gotAdmin ) :UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" set params= %* echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" 1>nul 2>nul exit /B :gotAdmin pushd "%CD%" CD /D "%~dp0" @echo off setlocal enabledelayedexpansion REM Pfad zur WindowsApps mit MicrosoftWindows.Client.WebExperience set "basePath=C:\Program Files\WindowsApps" set "searchFolder=MicrosoftWindows.Client.WebExperience_*" set "targetPath=C:\Windows\System32" set "iconFileName=favicon.ico" REM Suche nach dem neuesten Ordner for /d %%D in ("%basePath%\%searchFolder%") do ( set "currentFolder=%%D" ) REM Überprüfen, ob ein Ordner gefunden wurde if not defined currentFolder ( echo Kein passender Ordner gefunden. Abbruch. exit /b 1 ) REM Vollständigen Pfad zur Favicon-Datei set "sourceIconPath=%currentFolder%\Dashboard\WebContent\wwwroot\%iconFileName%" REM Überprüfen, ob die Datei existiert if not exist "%sourceIconPath%" ( echo Favicon.ico nicht gefunden unter "%sourceIconPath%". Abbruch. exit /b 1 ) REM Kopiere Favicon.ico nach C:\Windows\System32 copy /Y "%sourceIconPath%" "%targetPath%\%iconFileName%" if %errorlevel% neq 0 ( echo Fehler beim Kopieren der Datei nach "%targetPath%". exit /b 1 ) REM Registry-Schlüssel aktualisieren set "finalIconPath=%targetPath%\%iconFileName%" set "escapedPath=%finalIconPath:\=\\%" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v "29" /t REG_SZ /d "\"%escapedPath%\"" /f REM Erfolgsmeldung if %errorlevel% equ 0 ( echo Registry erfolgreich aktualisiert mit "%escapedPath%". echo Bitte starten Sie den Explorer neu oder melden Sie sich ab/an, um die Änderungen zu übernehmen. ) else ( echo Fehler beim Aktualisieren der Registry. ) endlocal taskkill /IM explorer.exe /F > NUL 2>&1 && start explorer > NUL 2>&1
:: BatchGotAdmin bis :gotAdmin
von Holgi » 05.12.2024, 14:52
<SynchronousCommand wcm:action="add"> <Order>12</Order> <Description>Office</Description> <CommandLine>cmd /c winget install --id "Microsoft.Office" --override "/configure C:\Windows\Setup\Scripts\ProPlus2024VL.xml"</CommandLine> </SynchronousCommand>
<settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>91</Order> <Path>powershell.exe -NoProfile -Command "$xml = [xml]::new(); $xml.Load('C:\Windows\Panther\unattend.xml'); $sb = [scriptblock]::Create( $xml.unattend.Extensions.ExtractScript ); Invoke-Command -ScriptBlock $sb -ArgumentList $xml;"</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>92</Order> <Path>powershell.exe -NoProfile -Command "Get-Content -LiteralPath 'C:\Windows\Setup\Scripts\Specialize.ps1' -Raw | Invoke-Expression;"</Path> </RunSynchronousCommand> </RunSynchronous> </component>
<File path="C:\Windows\Setup\Scripts\unattend-01.cmd" transformation="Text"> @Echo off ( ECHO ^<Configuration^> ECHO ^<Add OfficeClientEdition="64" Channel="PerpetualVL2024" AllowCdnFallback="TRUE"^> ECHO ^<Product ID="ProPlus2024Volume" PIDKEY="XJ2XN-FW8RK-P4HMP-DKDBV-GCVGB"^> ECHO ^<Language ID="de-de" /^> ECHO ^<ExcludeApp ID="Access" /^> ECHO ^<ExcludeApp ID="Lync" /^> ECHO ^<ExcludeApp ID="OneDrive" /^> ECHO ^<ExcludeApp ID="OneNote" /^> ECHO ^<ExcludeApp ID="Outlook" /^> ECHO ^<ExcludeApp ID="SHARED" /^> ECHO ^<ExcludeApp ID="Publisher" /^> ECHO ^</Product^> ECHO ^</Add^> ECHO ^<Property Name="SharedComputerLicensing" Value="0" /^> ECHO ^<Property Name="FORCEAPPSHUTDOWN" Value="FALSE" /^> ECHO ^<Property Name="DeviceBasedLicensing" Value="0" /^> ECHO ^<Property Name="SCLCacheOverride" Value="0" /^> ECHO ^<Property Name="AUTOACTIVATE" Value="1" /^> ECHO ^<Updates Enabled="TRUE" /^> ECHO ^<RemoveMSI /^> ECHO ^<Display Level="None" AcceptEULA="TRUE" /^> ECHO ^</Configuration^> ) > "C:\Windows\Setup\Scripts\ProPlus2024VL.xml" </File> <File path="C:\Windows\Setup\Scripts\Specialize.ps1" transformation="Text"> $scripts = @( { net.exe accounts /maxpwage:UNLIMITED; }; { C:\Windows\Setup\Scripts\unattend-01.cmd; }; ); & { [float] $complete = 0; [float] $increment = 100 / $scripts.Count; foreach( $script in $scripts ) { Write-Progress -Activity 'Running scripts to customize your Windows installation. Do not close this window.' -PercentComplete $complete; & $script; $complete += $increment; } } *>&1 >> "C:\Windows\Setup\Scripts\Specialize.log"; </File>
von Holgi » 04.12.2024, 13:32
<SynchronousCommand wcm:action="add"> <Order>12</Order> <Description>Office</Description> <CommandLine>cmd /c winget install --id "Microsoft.Office" --override "/configure https://www.XXXXXXXX.de\ftp\ProPlus2024Volume.xml"</CommandLine> </SynchronousCommand>
<File path="C:\Windows\Setup\Scripts\unattend-03.ps1"> $strTargetPath = "$env:CommonProgramFiles\microsoft shared\ClickToRun\OfficeC2RClient.exe" $strLinkFile = "$env:USERPROFILE\Desktop\Office.lnk" $shell = New-Object -ComObject WScript.Shell $Shortcut = $shell.CreateShortcut($strLinkFile) $Shortcut.TargetPath = $strTargetPath $Shortcut.HotKey = "Ctrl+Shift+C" $Shortcut.Arguments = "/update user" # $lnk.Arguments = # Set the window style (3=Maximized 7=Minimized 4=Normal) $shortcut.WindowStyle = 3 $Shortcut.IconLocation = "$env:CommonProgramFiles\microsoft shared\ClickToRun\OfficeC2RClient.exe" $Shortcut.Save() </File>
<File path="C:\Windows\Setup\Scripts\unattend-01.reg"> Windows Registry Editor Version 5.00 ;Office User Settings [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\word\options] "defaultformat"="Doc" "LastUILang"=dword:00000407 "EnableAccChecker"=dword:00000001 "FirstRun"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\word\options] "defaultformat"="Doc" "LastUILang"=dword:00000407 "EnableAccChecker"=dword:00000001 "FirstRun"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\options] "defaultformat"=dword:00000038 "LastUILang"=dword:00000407 "EnableAccChecker"=dword:00000001 "FirstRun"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Excel\options] "defaultformat"=dword:00000038 "LastUILang"=dword:00000407 "EnableAccChecker"=dword:00000001 "FirstRun"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\powerpoint\options] "defaultformat"=dword:00000000 "LastUILang"=dword:00000407 "EnableAccChecker"=dword:00000001 "FirstRun"=dword:00000000 "ShowSuggestionDialog"=dword:00000002 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\powerpoint\options] "defaultformat"=dword:00000000 "LastUILang"=dword:00000407 "EnableAccChecker"=dword:00000001 "FirstRun"=dword:00000000 "ShowSuggestionDialog"=dword:00000002 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common] "PointerModeInitVersion"=dword:00000001 "OverridePointerMode"=dword:00000001 "SplashScreenLicense"=dword:00000006 "PrivacyDialogsDisabled"=dword:00000001 ; System "UI Theme"=dword:00000007 ; Colored ;"UI Theme"=dword:00000006 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Common] "PointerModeInitVersion"=dword:00000001 "OverridePointerMode"=dword:00000001 "SplashScreenLicense"=dword:00000006 "PrivacyDialogsDisabled"=dword:00000001 ; System "UI Theme"=dword:00000007 ; Colored ;"UI Theme"=dword:00000006 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Privacy\SettingsStore\Anonymous] "OptionalConnectedExperiencesNoticeVersion"=dword:00000002 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\ExperimentConfigs\Ecs] "CountryCode"="std::wstring|DE" "PerpetualLicenseInfo"="std::wstring|2024" [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General] "Xlstart"="XLSTART" "Themes"="Themes" "Templates"="Templates" "Stationery"="Stationery" "Startup"="STARTUP" "Signatures"="Signatures" "RecentFiles"="Recent" "Queries"="Queries" "Proof"="Proof" "MyPictures"="My Pictures" "MyDocuments"="My Documents" "Favorites"="Favorites" "Desktop"="Desktop" "ApplicationData"="Application Data" "AddIns"="AddIns" "Actors"="Actors" "NoTrack"=dword:00000001 "FirstRun"=dword:00000000 "FileFormatBallotBoxAppIDBootedOnce"=dword:00000001 "FileFormatBallotBoxTelemetryEventSent"=dword:00000001 "FileFormatBallotBoxTelemetryConfirmationEventSent"=dword:00000001 "FileFormatBallotBoxTelemetrySent"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity] "TrustedSiteUrlForUserAgentVersionInfo"="" "Version"=dword:00000001 "SignedOutOneAuthMigrationComplete"=dword:00000001 "Canary"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\LanguageResources] "UIFallbackLanguages"="x-none;de-de" "HelpLanguageTag"="de-de" "PreferredEditingLanguage"="de-DE" "PreviousPreferredEditingLanguage"="de-DE" "WordChangeInstallLanguage"="No" "WordMailChangeInstallLanguage"="No" "XLChangeInstallLanguage"="No" "PPTChangeInstallLanguage"="No" "AccessChangeInstallLanguage"="No" "OutlookChangeInstallLanguage"="No" "PublisherChangeInstallLanguage"="No" "ProjectChangeInstallLanguage"="No" "OneNoteChangeInstallLanguage"="No" "LangTuneUp"="OfficeCompleted" "UISnapshotLanguages"="" "HelpFallbackLanguages"="x-none;de-de" "UILanguageTag"="de-de" "ShowDates"="ON" [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\LanguageResources\EnabledEditingLanguages] "de-DE"=dword:00000001 "en-US"=dword:00000002 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\LanguageResources\LocalCache] "RegionalAndLanguageSettingsAccount"="" [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Licensing] "RetailDemo"=dword:00000000 "DeviceEntitlementsExist"=dword:00000000 "NextUserLicensingLicenseIds"="" "NextUserLicensingLicensedUserIds"="" "EligibleForExtendedGrace"=dword:00000001 "FirstCleanValidation"=dword:00000001 "RemoveOOBE"=dword:00000001 "1"=dword:00000015 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Licensing\CurrentSkuIdAggregationForApp] "Access"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," "Excel"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," "OneNote"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," "Outlook"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," "PowerPoint"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," "Word"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," "Lync"="{8D368FC1-9470-4BE2-8D66-90E836CBB051}," [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\osm] "enablelogging"=dword:00000000 "EnableFileObfuscation"=dword:00000001 "EnableUpload"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\osm] "EnableFileObfuscation"=dword:00000001 "Enablelogging"=dword:00000000 "EnableUpload"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\microsoft\office\16.0\osm\preventedapplications] "accesssolution"=dword:00000001 "olksolution"=dword:00000001 "onenotesolution"=dword:00000001 "pptsolution"=dword:00000001 "projectsolution"=dword:00000001 "publishersolution"=dword:00000001 "visiosolution"=dword:00000001 "wdsolution"=dword:00000001 "xlsolution"=dword:00000001 [HKEY_CURRENT_USER\Software\Policies\microsoft\office\16.0\osm\preventedsolutiontypes] "agave"=dword:00000001 "appaddins"=dword:00000001 "comaddins"=dword:00000001 "documentfiles"=dword:00000001 "templatefiles"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook] [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options] [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\General] "HideNewOutlookToggle"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Registration] "AcceptAllEulas"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Office\Common\UserInfo] "Company"="DESKMODDER" "UserName"="Darth Vader" "UserInitials"="DV" </File>
<File path="C:\Windows\Setup\Scripts\unattend-02.cmd"> cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:KHGM9 cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:XQBR2 cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:PG343 cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:WFG99 cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:DRTFM cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:BTDRB cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:6F7TH cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:GCVGB cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:H6HGR cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:TX3T2 cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:VXRPM cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:R9GQV cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:XQBR2 cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /inslic:"%programfiles%\Microsoft Office\root\Licenses16\ProPlus2024VL_KMS_Client_AE-ppd.xrm-ms" cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /inslic:"%programfiles%\Microsoft Office\root\Licenses16\ProPlus2024VL_KMS_Client_AE-ul.xrm-ms" cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /inslic:"%programfiles%\Microsoft Office\root\Licenses16\ProPlus2024VL_KMS_Client_AE-ul-oob.xrm-ms" cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX cscript C:\Windows\System32\slmgr.vbs /ckms cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /sethst:kms.XXXXXXXXX.com cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /setprt:1688 TIMEOUT /T 10 /NOBREAK >nul cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /act rmdir "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Office Tools" /s /q </File>
von Holgi » 04.12.2024, 13:05
von Scoty » 04.12.2024, 12:44
von Holgi » 04.12.2024, 12:42
von Scoty » 22.11.2024, 12:27
von Holgi » 22.11.2024, 11:58
Scoty hat geschrieben: 22.11.2024, 10:17 Warum nicht so lassen wie es war.
Weil: Das Bessere ist des Guten Feind!
<File path="C:\Windows\Setup\Scripts\unattend-01.reg"> Windows Registry Editor Version 5.00
<File path="C:\Windows\Setup\Scripts\unattend-02.cmd">
von Scoty » 22.11.2024, 10:17
von Holgi » 22.11.2024, 09:45
<settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>17</Order> <CommandLine>cmd.exe /c "powershell.exe -NoProfile -Command "Get-Content -LiteralPath 'C:\Windows\Setup\Scripts\unattend-03.ps1' -Raw | Invoke-Expression;" >>"C:\Windows\Setup\Scripts\unattend-03.log" 2>&1"</CommandLine> </SynchronousCommand> :: </ExtractScript> <File path="C:\Windows\Setup\Scripts\unattend-03.ps1"> $strTargetPath = "$env:CommonProgramFiles\microsoft shared\ClickToRun\OfficeC2RClient.exe" $strLinkFile = "$env:USERPROFILE\Desktop\Office.lnk" $shell = New-Object -ComObject WScript.Shell $Shortcut = $shell.CreateShortcut($strLinkFile) $Shortcut.TargetPath = $strTargetPath $Shortcut.HotKey = "Ctrl+Shift+C" $Shortcut.Arguments = "/update user" # $lnk.Arguments = # Set the window style (3=Maximized 7=Minimized 4=Normal) $shortcut.WindowStyle = 3 $Shortcut.IconLocation = "$env:CommonProgramFiles\microsoft shared\ClickToRun\OfficeC2RClient.exe" $Shortcut.Save() </File>
von Scoty » 22.11.2024, 09:23
von Holgi » 22.11.2024, 08:57
<settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>5</Order> <Description>Winget</Description> <CommandLine>cmd.exe /c powershell -command "$ProgressPreference = 'SilentlyContinue' ; write-host "Downloade und installiere Dependencies" ; Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.9.25200/DesktopAppInstaller_Dependencies.zip -OutFile .\DesktopAppInstaller_Dependencies.zip ; Expand-Archive -Path .\DesktopAppInstaller_Dependencies.zip -Force ; Add-AppXPackage -Path .\DesktopAppInstaller_Dependencies\x64\Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64.appx ; Add-AppXPackage -Path .\DesktopAppInstaller_Dependencies\x64\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64.appx ; write-host "Installiere Winget" ; Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.9.25200/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile .\MicrosoftDesktopAppInstaller_8wekyb3d8bbwe.msixbundle ; Add-AppXPackage -Path .\MicrosoftDesktopAppInstaller_8wekyb3d8bbwe.msixbundle"</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>6</Order> <Description>Scanner</Description> <CommandLine>cmd /c winget install --id "9WZDNCRFJ3PV" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>7</Order> <Description>Apple</Description> <CommandLine>cmd /c winget install --id "9NP83LWLPZ9K" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>8</Order> <Description>AV1</Description> <CommandLine>cmd /c winget install --id "9MVZQVXJBQ9V" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>9</Order> <Description>Everything</Description> <CommandLine>cmd /c winget install --id "voidtools.Everything.Lite" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>10</Order> <Description>Firefox</Description> <CommandLine>cmd /c winget install --id "Mozilla.Firefox" -h --override "/PrivateBrowsingShortcut=false" --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>11</Order> <Description>Winrar</Description> <CommandLine>cmd /c winget install --id "RARLab.WinRAR" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>12</Order> <Description>Office</Description> <CommandLine>cmd /c winget install --id "Microsoft.Office" --override "/configure https://www.XXXXXXXXXXXXX.de\ftp\ProPlus2024Volume.xml"</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>13</Order> <Description>VCRedist</Description> <CommandLine>cmd /c winget install --id "Microsoft.VCRedist.2015+.x64" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>14</Order> <Description>DesktopRuntime</Description> <CommandLine>cmd /c winget install --id "Microsoft.DotNet.DesktopRuntime.8" -h --accept-package-agreements --accept-source-agreements</CommandLine> </SynchronousCommand> </FirstLogonCommands>
von Scoty » 22.11.2024, 07:37
von Scoty » 18.10.2024, 08:55
von Holgi » 15.10.2024, 10:28
<SynchronousCommand wcm:action="add"> <Order>50</Order> <Description>Arrow_Remover</Description> <CommandLine>REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /V "29" /D "%windir%\System32\imageres.dll,-17" /F</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>51</Order> <Description>Arrow_Remover1</Description> <CommandLine>REG ADD "HKCR\IE.AssocFile.URL" /V "IsShortcut" /D "" /F</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>52</Order> <Description>Arrow_Remover2</Description> <CommandLine>REG ADD "HKCR\InternetShortcut" /V "IsShortcut" /D "" /F</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>53</Order> <Description>Arrow_Remover3</Description> <CommandLine>REG ADD "HKCR\lnkfile" /V "IsShortcut" /D "" /F</CommandLine> </SynchronousCommand>
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\IE.AssocFile.URL] "IsShortcut"="" [HKEY_CLASSES_ROOT\InternetShortcut] "IsShortcut"="" [HKEY_CLASSES_ROOT\lnkfile] "IsShortcut"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons] "29"="%windir%\\System32\\imageres.dll,-17"
Nach oben