Programme automatisch installieren nach Installation

Probleme mit der Installation von Windows 11?
Benutzeravatar
Holgi
Elite
Elite
Beiträge: 2039
Registriert: 12.05.2018, 12:33
Hat sich bedankt: 187 Mal
Danke erhalten: 250 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Holgi » 20.09.2023, 15:10

habs hinbekommen!
Sieht sehr gut aus. Bis auf die fehlende WINRAR BETA ist alles drin, was Scoty so möchte. Ist halt die Winrar 6.23. Ich persönlich würde mir sowieso keine Beta Versionen installieren.
Die Installation ist 100% unattend. Also obacht. Die Festplatte wird gnadenlos gelöscht und partitioniert.
Hier und da habe ich noch ein paar eigene Ideen eingebracht.

Hier die autounattend.xml:

Code: Alles auswählen

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">

	<settings pass="oobeSystem">
		<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<InputLocale>0407:00000407</InputLocale>
			<SystemLocale>de-DE</SystemLocale>
			<UILanguage>de-DE</UILanguage>
			<UILanguageFallback>en-US</UILanguageFallback>
			<UserLocale>de-DE</UserLocale>
		</component>
		<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<TimeZone>W. Europe Standard Time</TimeZone>
			<AutoLogon>
				<Enabled>true</Enabled>
				<LogonCount>9999999</LogonCount>
				<Username>Martin</Username>
				<Password>
					<PlainText>false</PlainText>
					<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
				</Password>
			</AutoLogon>
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<HideLocalAccountScreen>true</HideLocalAccountScreen>
				<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
				<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
				<NetworkLocation>Home</NetworkLocation>
				<ProtectYourPC>3</ProtectYourPC>
			</OOBE>
			<UserAccounts>
				<LocalAccounts>
					<LocalAccount wcm:action="add">
						<Description>Martin</Description>
						<DisplayName>Martin</DisplayName>
						<Group>Administrators;Power Users</Group>
						<Name>Martin</Name>
						<Password>
							<PlainText>false</PlainText>
							<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
						</Password>
					</LocalAccount>
				</LocalAccounts>
			</UserAccounts>
	<FirstLogonCommands>

 	<SynchronousCommand wcm:action="add">
          <Order>1</Order>
	    <Description>FirstLogon</Description>
	    <RequiresUserInput>false</RequiresUserInput>
          <CommandLine>"c:\windows\setup\scripts\FirstLogon.cmd"</CommandLine>
        </SynchronousCommand>

        <SynchronousCommand wcm:action="add">
          <Order>2</Order>
          <CommandLine>net user &quot;Martin&quot; /logonpasswordchg:yes</CommandLine>
        </SynchronousCommand>

      </FirstLogonCommands>
		</component>
	</settings>


	<settings pass="specialize">
		<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<RunSynchronous>

        <RunSynchronousCommand wcm:action="add">
          <Order>1</Order>
          <Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f</Path>
	</RunSynchronousCommand>

	<RunSynchronousCommand wcm:action="add">
	<Order>2</Order>
	<Path>%windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "0" /f</Path>
	</RunSynchronousCommand>

	<RunSynchronousCommand wcm:action="add">
	<Order>3</Order>
	<Path>%windir%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f</Path>
	</RunSynchronousCommand>

	<RunSynchronousCommand wcm:action="add">
	<Order>4</Order>
	<Path>%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -Command "Set-ExecutionPolicy -Scope 'LocalMachine' -ExecutionPolicy 'RemoteSigned' -Force;"</Path>
	</RunSynchronousCommand>

			</RunSynchronous>
		</component>
		
	</settings>


	<settings pass="windowsPE">
		<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<InputLocale>0407:00000407</InputLocale>
			<SystemLocale>de-DE</SystemLocale>
			<UILanguage>de-DE</UILanguage>
			<UILanguageFallback>en-US</UILanguageFallback>
			<UserLocale>de-DE</UserLocale>
			<SetupUILanguage>
				<UILanguage>de-DE</UILanguage>
			</SetupUILanguage>
		</component>
		<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<Diagnostics>
				<OptIn>false</OptIn>
			</Diagnostics>
			<DynamicUpdate>
				<Enable>false</Enable>
				<WillShowUI>OnError</WillShowUI>
			</DynamicUpdate>
	 <ImageInstall>
        <OSImage>
	<InstallFrom>
                        <MetaData wcm:action="add">
 			    <Key>/IMAGE/Name</Key>
                            <Value>Windows 11 Pro</Value>
                        </MetaData>
               </InstallFrom>

          <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>3</PartitionID>
          </InstallTo>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
        </ProductKey>
        <AcceptEula>true</AcceptEula>
      </UserData>
      <RunSynchronous>
        <RunSynchronousCommand>
          <Order>1</Order>
          <Path>cmd.exe /c echo SELECT DISK 0 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>2</Order>
          <Path>cmd.exe /c echo CLEAN &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>3</Order>
          <Path>cmd.exe /c echo CONVERT GPT &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>4</Order>
          <Path>cmd.exe /c echo CREATE PARTITION EFI SIZE=100 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>5</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=FAT32 LABEL="System" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>6</Order>
          <Path>cmd.exe /c echo CREATE PARTITION MSR SIZE=16 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>7</Order>
          <Path>cmd.exe /c echo CREATE PARTITION PRIMARY &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>8</Order>
          <Path>cmd.exe /c echo SHRINK MINIMUM=500 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>9</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=NTFS LABEL="Windows" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>10</Order>
          <Path>cmd.exe /c echo CREATE PARTITION PRIMARY &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>11</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=NTFS LABEL="Recovery" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>12</Order>
          <Path>cmd.exe /c echo SET ID="de94bba4-06d1-4d40-a16a-bfd50179d6ac" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>13</Order>
          <Path>cmd.exe /c echo GPT ATTRIBUTES=0x8000000000000001 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>14</Order>
          <Path>cmd.exe /c diskpart /s X:\diskpart.txt &gt;&gt; X:\diskpart.log</Path>
        </RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>15</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>16</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>17</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>18</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>19</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassStorageCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>20</Order>
<Path>reg add HKLM\SYSTEM\Setup\MoSetup /v AllowUpgradesWithUnsupportedTPMOrCPU /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
      </RunSynchronous>
    </component>
	</settings>
</unattend>
und hier die firstlogon.cmd:

Code: Alles auswählen

:Admin
cls

:: 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"

    exit /B

:gotAdmin

powershell Add-AppPackage -Register "'C:\Program Files\WindowsApps\*Microsoft.DesktopAppInstaller*neutral_split.language-de_8wekyb3d8bbwe\AppxManifest.xml'" -DisableDevelopmentMode 

cls
echo Teste Internetverbindung, bitte warten...
PING -n 1 www.google.com|find "Antwort von " >NUL
IF NOT ERRORLEVEL 1 goto :SUPER
IF ERRORLEVEL 1 goto :PECH
:Super
echo --- VC_redist.x64
powershell winget install --id "Microsoft.VCRedist.2015+.x64" -h --accept-package-agreements --accept-source-agreements >nul
echo --- windowsdesktop-runtime
powershell winget install --id "Microsoft.DotNet.DesktopRuntime.7" -h --accept-package-agreements --accept-source-agreements >nul
echo --- Firefox
winget install --id=Mozilla.Firefox -h --override "INSTALL_MAINTENANCE_SERVICE=false /quiet"
echo --- Thunderbird
winget install --id=Mozilla.Thunderbird -h --override "INSTALL_MAINTENANCE_SERVICE=false /quiet"
echo --- Winrar
powershell winget install --id "RARLab.WinRAR" -h --accept-package-agreements --accept-source-agreements >nul
cls
Echo.
Echo uninstalling Crap Apps
echo.
powershell winget uninstall --id "Microsoft.BingWeather_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.BingNews_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Clipchamp.Clipchamp_yxz26nhyzhsrt" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.GamingApp_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.GetHelp_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Getstarted_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "MicrosoftTeams_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.OneDrive" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.People_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Todos_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Xbox.TCUI_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.XboxGameOverlay_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.XboxGamingOverlay_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.XboxIdentityProvider_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.YourPhone_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.549981C3F5F10_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.DevHome" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Windows.DevHomeGitHubExtension_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.OutlookForWindows_8wekyb3d8bbwe" -h --accept-source-agreements >nul
cls
:Pech
echo --- Winrar key kopieren
copy /Y /V "%WINDIR%\Setup\Files\rarreg.key" "C:\Program Files\WinRAR"
echo --- Edge Icon entfernen
del "%homepath%\desktop\Microsoft Edge.lnk" /f

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OemPreInstalledAppsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353694Enabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353696Enabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d "0" /f
reg add "HKLM\Software\Policies\Microsoft\PushToInstall" /v "DisablePushToInstall" /t REG_DWORD /d "1" /f
reg add "HKLM\Software\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d "1" /f
reg import C:\windows\setup\scripts\Win11_Registry-Tricks.reg
reg add "HKCU\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f
reg add "HKCU\SOFTWARE\Classes\WOW6432Node\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /t REG_DWORD /d "1" /f
taskkill /F /IM explorer.exe & start explorer
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "1" /f
timeout /t 5

cd /d "%~dp0"
rd /q /s "%WINDIR%\Setup\Files"
cd \
(goto) 2>nul&rd /s /q "%~dp0"
exit
zur Vollständigkeit noch die Win11_Registry-Tricks.reg_

Code: Alles auswählen

Windows Registry Editor Version 5.00

;Datei Als Administrator ausführen
[HKEY_CLASSES_ROOT\regfile\shell\RunAs\command]
@="regedit.exe \"%1\""

[HKEY_CLASSES_ROOT\.cmd\ShellNew]
"NullFile"=""
"ItemName"=hex(2):40,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,\
73,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,61,00,63,\
00,70,00,70,00,61,00,67,00,65,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,36,00,\
30,00,30,00,33,00,00,00

[HKEY_CLASSES_ROOT\.reg\ShellNew]
"NullFile"=""
"ItemName"=hex(2):40,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,\
73,00,5c,00,72,00,65,00,67,00,65,00,64,00,69,00,74,00,2e,00,65,00,78,00,65,\
00,2c,00,2d,00,33,00,30,00,39,00,00,00

;Menüpunkt Endgültig löschen im Kontextmenü hinzufügen
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\PermanentDelete]
"ExplorerCommandHandler"="{E9571AB2-AD92-4ec6-8924-4E5AD33790F5}"
"Icon"="%windir%\\System32\\shell32.dll,-240"
"Position"="Bottom" 

;Windows Terminal als Administrator
[HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin]
"HasLUAShield"=""
"MUIVerb"="Open in Windows Terminal as administrator"
"Extended"=-
"SubCommands"=""

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\001flyout]
"MUIVerb"="Default Profile"
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\001flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-d','\"\"\"%V\"\"\"')\""

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\002flyout]
"MUIVerb"="Command Prompt"
"Icon"="imageres.dll,-5324"

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\002flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Command Prompt\"\"\"','-d','\"\"\"%V\"\"\"')\""

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\003flyout]
"MUIVerb"="PowerShell"
"HasLUAShield"=""
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\003flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Windows PowerShell\"\"\"','-d','\"\"\"%1\"\"\"')\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHereAsAdmin]
"HasLUAShield"=""
"MUIVerb"="Open in Windows Terminal as administrator"
"Extended"=-
"SubCommands"=""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\001flyout]
"MUIVerb"="Default Profile"
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\001flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-d','\"\"\"%V\"\"\"')\""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\002flyout]
"MUIVerb"="Command Prompt"
"Icon"="imageres.dll,-5324"

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\002flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Command Prompt\"\"\"','-d','\"\"\"%V\"\"\"')\""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\003flyout]
"MUIVerb"="PowerShell"
"HasLUAShield"=""
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\003flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Windows PowerShell\"\"\"','-d','\"\"\"%V\"\"\"')\""

;kein Lockscreen
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
"NoLockScreen"=dword:00000001

;Datei in Besitz nehmen
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administratoren:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administratoren:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administratoren:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administratoren:F /t"

;Windows tools
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsTools]
"Position"="Bottom"
"Icon"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
00,31,00,31,00,34,00,00,00
"MUIVerb"="Windows Tools"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsTools\command]
@="explorer.exe shell:::{D20EA4E1-3957-11d2-A40B-0C5020524153}"

;Kontextmenü
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]

; Bearbeiten mit Notepad++ in Windows 11 contextmenu
[HKEY_CLASSES_ROOT\*\shell\pintohome]
"MUIVerb"="Mit Notepad++ bearbeiten"

[HKEY_CLASSES_ROOT\*\shell\pintohome\command]
@="\"D:\\Software_Tools\\Notepad++\\notepad++.exe\" \"%L\""

;Notepad++ als Standard
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe]
"UseFilter"=dword:00000001
"Debugger"="\"D:\\Software_Tools\\Notepad++\\notepad++.exe\" -notepadStyleCmdline -z"

;Firewall
[HKEY_CLASSES_ROOT\exefile\shell\firewallblock]
@="Setze Firewall Blockierung"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\exefile\shell\firewallblock\command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -Executionpolicy ByPass -WindowStyle Hidden -NoLogo -Command \"start powershell -Verb runas -ArgumentList \\\"-NoLogo -WindowStyle Hidden -command `\\\"New-NetFirewallRule -DisplayName ([System.IO.Path]::GetFilenameWithoutExtension('%1')) -Name '%1' -Enabled True -Direction Outbound -Action Block -Program '%1'`\\\"\\\"\""


[HKEY_CLASSES_ROOT\exefile\shell\firewallremove]
@="Entferne Firewall Blockierung"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\exefile\shell\firewallremove\command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -Executionpolicy ByPass -WindowStyle Hidden -NoLogo -Command \"start powershell -Verb runas -ArgumentList \\\"-NoLogo -WindowStyle Hidden -command `\\\"Remove-NetFirewallRule -Name '%1'`\\\"\\\"\""

;Entferne Verknüpfungs Pfeile
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"29"="%Windir%\\Blank.ico"

;Doppelte Laufwerke entfernen
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\-{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
@="Removable Drives"
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\-{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
@="Removable Drives"

;Haus Icon weg
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{F874310E-B6B7-47DC-BC84-B9E6B38F5903}"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{F874310E-B6B7-47DC-BC84-B9E6B38F5903}"=dword:00000001
[HKLM \Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{F874310E-B6B7-47DC-BC84-B9E6B38F5903}"=dword:00000001
[HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{F874310E-B6B7-47DC-BC84-B9E6B38F5903}"=dword:00000001
[HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{F874310E-B6B7-47DC-BC84-B9E6B38F5903}"=dword:00000001
[HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{F874310E-B6B7-47DC-BC84-B9E6B38F5903}"=dword:00000001

;Ordner anzeigen im Explorer
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
"HideIfEnabled"=-

;Pin to Quick access

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\pintohome]

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\pintohome]
"CommandStateHandler"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"
"CommandStateSync"=""
"MUIVerb"="@shell32.dll,-51377"

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\pintohome\command]
"DelegateExecute"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"

[-HKEY_CLASSES_ROOT\Drive\shell\pintohome]

[HKEY_CLASSES_ROOT\Drive\shell\pintohome]
"CommandStateHandler"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"
"CommandStateSync"=""
"MUIVerb"="@shell32.dll,-51377"
"NeverDefault"=""

[HKEY_CLASSES_ROOT\Drive\shell\pintohome\command]
"DelegateExecute"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"

[-HKEY_CLASSES_ROOT\Folder\shell\pintohome]

[HKEY_CLASSES_ROOT\Folder\shell\pintohome]
"AppliesTo"="System.ParsingName:<>\"::{679f85cb-0220-4080-b29b-5540cc05aab6}\" AND System.ParsingName:<>\"::{645FF040-5081-101B-9F08-00AA002F954E}\" AND System.IsFolder:=System.StructuredQueryType.Boolean#True"
"MUIVerb"="@shell32.dll,-51377"

[HKEY_CLASSES_ROOT\Folder\shell\pintohome\command]
"DelegateExecute"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"

[-HKEY_CLASSES_ROOT\Network\shell\pintohome]

[HKEY_CLASSES_ROOT\Network\shell\pintohome]
"CommandStateHandler"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"
"CommandStateSync"=""
"MUIVerb"="@shell32.dll,-51377"
"NeverDefault"=""

[HKEY_CLASSES_ROOT\Network\shell\pintohome\command]
"DelegateExecute"="{b455f46e-e4af-4035-b0a4-cf18d2f6f28e}"

;Uhrzeit International
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001

;Windows Treiber Updates deaktivieren
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"ExcludeWUDriversInQualityUpdate"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\WindowsUpdate]
"ExcludeWUDriversInQualityUpdate"=dword:00000001

;Autstart beschleunigen
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"StartupDelayInMSec"=dword:00000000

;Start Symbol Links
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TaskbarAL"=dword:00000000

;zeige versteckte Dateien und SystemOrdner
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001
"HideFileExt"=dword:00000000
"ShowSuperHidden"=dword:00000000

;Datei Erweiterung anzeigen
[HKEY_CLASSES_ROOT\.bat\ShellNew]
"NullFile"=""
"ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,61,00,63,00,70,00,70,00,61,00,67,00,65,00,2e,00,64,00,6c,00,6c,00,2c,00,\
2d,00,36,00,30,00,30,00,32,00,00,00

[HKEY_CLASSES_ROOT\.cmd\ShellNew]
"NullFile"=""
"ItemName"=hex(2):40,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,\
73,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,61,00,63,\
00,70,00,70,00,61,00,67,00,65,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,36,00,\
30,00,30,00,33,00,00,00

[HKEY_CLASSES_ROOT\.reg\ShellNew]
"NullFile"=""
"ItemName"=hex(2):40,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,\
73,00,5c,00,72,00,65,00,67,00,65,00,64,00,69,00,74,00,2e,00,65,00,78,00,65,\
00,2c,00,2d,00,33,00,30,00,39,00,00,00

;Ordner entfernen schnellzugriff
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"HubMode"=dword:00000001

;Entgültig löschen
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\PermanentDelete]
"ExplorerCommandHandler"="{E9571AB2-AD92-4ec6-8924-4E5AD33790F5}"
"Icon"="%windir%\\System32\\shell32.dll,-240"
"Position"="Bottom" 

;Medien Ornder freigabe
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares]
"Filme"=hex(7):43,00,41,00,54,00,69,00,6d,00,65,00,6f,00,75,00,74,00,3d,00,30,\
  00,00,00,43,00,53,00,43,00,46,00,6c,00,61,00,67,00,73,00,3d,00,32,00,30,00,\
  34,00,38,00,00,00,4d,00,61,00,78,00,55,00,73,00,65,00,73,00,3d,00,34,00,32,\
  00,39,00,34,00,39,00,36,00,37,00,32,00,39,00,35,00,00,00,50,00,61,00,74,00,\
  68,00,3d,00,46,00,3a,00,5c,00,46,00,69,00,6c,00,6d,00,65,00,00,00,50,00,65,\
  00,72,00,6d,00,69,00,73,00,73,00,69,00,6f,00,6e,00,73,00,3d,00,38,00,36,00,\
  30,00,00,00,52,00,65,00,6d,00,61,00,72,00,6b,00,3d,00,00,00,53,00,68,00,61,\
  00,72,00,65,00,4e,00,61,00,6d,00,65,00,3d,00,46,00,69,00,6c,00,6d,00,65,00,\
  00,00,54,00,79,00,70,00,65,00,3d,00,30,00,00,00,00,00
"Serien"=hex(7):43,00,41,00,54,00,69,00,6d,00,65,00,6f,00,75,00,74,00,3d,00,30,\
  00,00,00,43,00,53,00,43,00,46,00,6c,00,61,00,67,00,73,00,3d,00,32,00,30,00,\
  34,00,38,00,00,00,4d,00,61,00,78,00,55,00,73,00,65,00,73,00,3d,00,34,00,32,\
  00,39,00,34,00,39,00,36,00,37,00,32,00,39,00,35,00,00,00,50,00,61,00,74,00,\
  68,00,3d,00,46,00,3a,00,5c,00,53,00,65,00,72,00,69,00,65,00,6e,00,00,00,50,\
  00,65,00,72,00,6d,00,69,00,73,00,73,00,69,00,6f,00,6e,00,73,00,3d,00,38,00,\
  36,00,30,00,00,00,52,00,65,00,6d,00,61,00,72,00,6b,00,3d,00,00,00,53,00,68,\
  00,61,00,72,00,65,00,4e,00,61,00,6d,00,65,00,3d,00,53,00,65,00,72,00,69,00,\
  65,00,6e,00,00,00,54,00,79,00,70,00,65,00,3d,00,30,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares\Security]
"Filme"=hex:01,00,04,80,48,00,00,00,64,00,00,00,00,00,00,00,14,00,00,00,02,00,\
  34,00,02,00,00,00,00,03,18,00,ff,01,1f,00,01,02,00,00,00,00,00,05,20,00,00,\
  00,20,02,00,00,00,03,14,00,ff,01,1f,00,01,01,00,00,00,00,00,01,00,00,00,00,\
  01,05,00,00,00,00,00,05,15,00,00,00,5e,ff,70,d0,16,92,f4,98,61,e8,f1,a7,e8,\
  03,00,00,01,05,00,00,00,00,00,05,15,00,00,00,5e,ff,70,d0,16,92,f4,98,61,e8,\
  f1,a7,01,02,00,00
"Serien"=hex:01,00,04,80,48,00,00,00,64,00,00,00,00,00,00,00,14,00,00,00,02,00,\
  34,00,02,00,00,00,00,03,18,00,ff,01,1f,00,01,02,00,00,00,00,00,05,20,00,00,\
  00,20,02,00,00,00,03,14,00,ff,01,1f,00,01,01,00,00,00,00,00,01,00,00,00,00,\
  01,05,00,00,00,00,00,05,15,00,00,00,5e,ff,70,d0,16,92,f4,98,61,e8,f1,a7,e8,\
  03,00,00,01,05,00,00,00,00,00,05,15,00,00,00,5e,ff,70,d0,16,92,f4,98,61,e8,\
  f1,a7,01,02,00,00
  
;Edge keine Verknüpfung
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\EdgeUpdate]
"CreateDesktopShortcut{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000000

;add-long-paths-enabled
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001

;FileBot context mneü
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\FileBotCommands]
"MUIVerb"="FileBot"
"SubCommands"="FileBotRenameMovie;FileBotRenameSeriesTheMovieDB;FileBotRenameSeriesTheTVDB"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\FileBotCommands]
"MUIVerb"="FileBot"
"SubCommands"="FileBotRenameMovie;FileBotRenameSeriesTheMovieDB;FileBotRenameSeriesTheTVDB;FileBotFetchArtwork"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotRenameMovie]
@="Rename Movie"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotRenameMovie\command]
@="cmd /c filebot --lang German -rename -r \"%1\" --db TheMovieDB -non-strict --format \"{plex.name}\" --apply reveal --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotRenameSeriesTheMovieDB]
@="Rename TV TheMovieDB"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotRenameSeriesTheMovieDB\command]
@="cmd /c filebot --lang German -rename -r \"%1\" --db TheMovieDB::TV -non-strict --format \"{plex.name}\" --apply reveal --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotRenameSeriesTheTVDB]
@="Rename TV TheTVDB"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotRenameSeriesTheTVDB\command]
@="cmd /c filebot --lang German -rename -r \"%1\" --db TheTVDB -non-strict --format \"{plex.name}\" --apply reveal --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotFetchArtwork]
@="Fetch Artwork"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBotFetchArtwork\command]
@="cmd /c filebot --lang German -mediainfo -r \"%1\" -non-strict --apply artwork cover nfo url --log-file context.log"

;häufig genutzte Befehle in Ausführen
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU]
"MRUList"="abcdefgh"
"a"="taskmgr\\1"
"b"="calc\\1"
"c"="regedit\\1"
"d"="shutdown -r -f -t 0\\1"
"e"="winver\\1"
"f"="cmd\\1"
"g"="Powershell\\1"
"h"="taskkill /im msedge.exe /f\\1"

PDF24 angepasste Installation (nur PDF Druckertreiber) per Script: viewtopic.php?t=30284
Winget (Desktop App Installer) für Windows Versionen ohne Store installieren (HowTo): viewtopic.php?t=26214
Vorstellung: tiny11builder; Script zur Verschlankung von Windows 11: viewtopic.php?t=30134
Windows StartMenü Empfohlen (Recommended Section) komplett ausblenden: viewtopic.php?t=30574
Hyper-V VM per Script erstellen viewtopic.php?t=25114

Tante Google

Re: Programme automatisch installieren nach Installation

Beitrag von Tante Google » 20.09.2023, 15:10


Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 20.09.2023, 17:10

@Holgi:
Na also :D
Hm, Du mußt nachdem die Installation abgeschlossen ist, auf jedenfall einen Reboot machen, ansonsten is die UAC weiterhin deaktiviert. Deshalb hatte ich bei mir einen automatischen Reboot ans Ende des Scripts gesetzt.
Das geniale ist, man spart massig Platz weil keinerlei Installationsdateien vorgehalten werden müssen! UND, man kann die Programme, die über WinGet installiert werden sollen, von Mal zu Mal extern anpassen, ohne gleich den kompletten Stick neu machen zu müssen. Was ist denn Deine Meinung zu dieser Lösung @Holgi? Ist das besser so oder ist die alte Methode besser? Würd mich mal interessieren...

Benutzeravatar
Holgi
Elite
Elite
Beiträge: 2039
Registriert: 12.05.2018, 12:33
Hat sich bedankt: 187 Mal
Danke erhalten: 250 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Holgi » 20.09.2023, 17:36

@Jens1976
ich persönlich finde diese Methode besser, weil das Installationsmedium nicht so häufig aktualisiert werden muss (wenn man dann - so wie die meisten hier - auf dem neuesten Stand sein möchte).
Erst wenn dann auch Windows sein monatliches kum. Update bekommen hat, wird dann bei mir hier die install.wim (.esd) ausgetauscht.
UAC > grds. korrekt, aber mich nervt die. Deshalb fehlt der Reboot.
PDF24 angepasste Installation (nur PDF Druckertreiber) per Script: viewtopic.php?t=30284
Winget (Desktop App Installer) für Windows Versionen ohne Store installieren (HowTo): viewtopic.php?t=26214
Vorstellung: tiny11builder; Script zur Verschlankung von Windows 11: viewtopic.php?t=30134
Windows StartMenü Empfohlen (Recommended Section) komplett ausblenden: viewtopic.php?t=30574
Hyper-V VM per Script erstellen viewtopic.php?t=25114

Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 20.09.2023, 17:41

@Holgi
Danke, so ähnlich sehe ich das auch.

Benutzeravatar
Scoty
Senior
Senior
Beiträge: 455
Registriert: 26.10.2009, 15:41
Hat sich bedankt: 109 Mal
Danke erhalten: 10 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Scoty » 21.09.2023, 06:32

@Holgi das die SSD komplett gelöscht wird, ist nicht meines. Da meine System SSD 2 Partitionen hat und auf der 2. Partition meine ganzen Programme und Treiber sind, darf die nicht gelöscht werden. Auch fällt die Option dann weg das ich keine Treiber mehr im Setup hinzufügen kann und dann hätte ich kein LAN da mein Board nach wie vor nicht erkannt wird (AM5 x670e) und dann würde Winget nicht laufen da kein Internet.

DIe neue firstlogon finde ich nice auch wenn der Teil mit der bloadware ich schon weg habe da ich meine ISO mit uup dump mache und mittels der CustomAppsList ich schon alles deaktiviert habe und dann noch noch ein tiny11 Script laufen lasse. Vorteil bei der neuen firstlogon wäre aber das ich das mit der CustomAppsList nun nicht mehr brauche. Wenn ich das richtig sehe könnte ich dann eine normale Windows 11 ISO machen und dann mittels der neuen firstlogon dann alles löschen lassen. Beide wege führen zum Ziel.

Habe da noch folgendes zu firstlogon hinzugegügt:

Code: Alles auswählen

powershell winget uninstall --id "Microsoft.WindowsCamera_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Paint_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.WindowsAlarms_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.WindowsMaps_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "microsoft.windowscommunicationsapps_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.ZuneMusic_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.ZuneVideo_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.SkypeApp_kzf8qxf38zg5c" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Office.Excel_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Office.PowerPoint_8wekyb3d8bbwe" -h --accept-source-agreements >nul
powershell winget uninstall --id "Microsoft.Office.Word_8wekyb3d8bbwe" -h --accept-source-agreements >nul
Am Ende dann

Code: Alles auswählen

shutdown /r /t 30
exit
Gaming-PC: AMD 7800X3D | RTX 4070 Ti | ASUS ROG Strix X670E-E Gaming WIFI | G.Skill Trident Z5 RGB 32G, DDR5-6000 | Corsair HX1200 | Lian Li Air Mini |
Internet: Magenta | Fritz!Box 6660 Cable | 1028 Mbit/s / 53 Mbit/s |

Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 21.09.2023, 07:18

Moin. Naja, Du kannst die unattend.xml ja entsprechend modifizieren. Bzw. eine generieren lassen wie Du sie brauchst und dann um die entsprechenden Abschnitte von Hand erweitern. Die Generatoren die man so im Inet findet, decken ja auch nicht alles ab, aber man kann die als gute Grundlage nehmen für sowas.

Benutzeravatar
Scoty
Senior
Senior
Beiträge: 455
Registriert: 26.10.2009, 15:41
Hat sich bedankt: 109 Mal
Danke erhalten: 10 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Scoty » 21.09.2023, 07:25

Den Teil würde ich auch nicht brauchen:

Code: Alles auswählen

<RunSynchronousCommand wcm:action="add">
<Order>15</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>16</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>17</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>18</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>19</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassStorageCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>20</Order>
<Path>reg add HKLM\SYSTEM\Setup\MoSetup /v AllowUpgradesWithUnsupportedTPMOrCPU /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
und wenn ich das richtig sehe wäre das der Teil mit der Partion. Wenn ich das lösche müsste die Festplatten Option wieder da sein wie vorher auch:

Code: Alles auswählen

<RunSynchronous>
        <RunSynchronousCommand>
          <Order>1</Order>
          <Path>cmd.exe /c echo SELECT DISK 0 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>2</Order>
          <Path>cmd.exe /c echo CLEAN &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>3</Order>
          <Path>cmd.exe /c echo CONVERT GPT &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>4</Order>
          <Path>cmd.exe /c echo CREATE PARTITION EFI SIZE=100 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>5</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=FAT32 LABEL="System" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>6</Order>
          <Path>cmd.exe /c echo CREATE PARTITION MSR SIZE=16 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>7</Order>
          <Path>cmd.exe /c echo CREATE PARTITION PRIMARY &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>8</Order>
          <Path>cmd.exe /c echo SHRINK MINIMUM=500 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>9</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=NTFS LABEL="Windows" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>10</Order>
          <Path>cmd.exe /c echo CREATE PARTITION PRIMARY &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>11</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=NTFS LABEL="Recovery" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>12</Order>
          <Path>cmd.exe /c echo SET ID="de94bba4-06d1-4d40-a16a-bfd50179d6ac" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>13</Order>
          <Path>cmd.exe /c echo GPT ATTRIBUTES=0x8000000000000001 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
Da der Festpolattenteil als auch der ganze Bypass eh hintereinander ist kann ich das alles löschen?
Gaming-PC: AMD 7800X3D | RTX 4070 Ti | ASUS ROG Strix X670E-E Gaming WIFI | G.Skill Trident Z5 RGB 32G, DDR5-6000 | Corsair HX1200 | Lian Li Air Mini |
Internet: Magenta | Fritz!Box 6660 Cable | 1028 Mbit/s / 53 Mbit/s |

Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 21.09.2023, 07:29

Du mußt den Abschnitt beginnend ab

Code: Alles auswählen

 <InstallTo>
entsprechend modifizieren, ansonsten sagst Du ihm ja, das er auf Partition 0 inststallieren soll, die es aber noch überhaupt nicht gibt.

Benutzeravatar
Scoty
Senior
Senior
Beiträge: 455
Registriert: 26.10.2009, 15:41
Hat sich bedankt: 109 Mal
Danke erhalten: 10 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Scoty » 21.09.2023, 07:32

Also so:

Code: Alles auswählen

          <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>3</PartitionID>
          </InstallTo>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
        </ProductKey>
        <AcceptEula>true</AcceptEula>
      </UserData>
      <RunSynchronous>
        <RunSynchronousCommand>
          <Order>1</Order>
          <Path>cmd.exe /c echo SELECT DISK 0 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>2</Order>
          <Path>cmd.exe /c echo CLEAN &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>3</Order>
          <Path>cmd.exe /c echo CONVERT GPT &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>4</Order>
          <Path>cmd.exe /c echo CREATE PARTITION EFI SIZE=100 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>5</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=FAT32 LABEL="System" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>6</Order>
          <Path>cmd.exe /c echo CREATE PARTITION MSR SIZE=16 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>7</Order>
          <Path>cmd.exe /c echo CREATE PARTITION PRIMARY &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>8</Order>
          <Path>cmd.exe /c echo SHRINK MINIMUM=500 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>9</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=NTFS LABEL="Windows" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>10</Order>
          <Path>cmd.exe /c echo CREATE PARTITION PRIMARY &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>11</Order>
          <Path>cmd.exe /c echo FORMAT QUICK FS=NTFS LABEL="Recovery" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>12</Order>
          <Path>cmd.exe /c echo SET ID="de94bba4-06d1-4d40-a16a-bfd50179d6ac" &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>13</Order>
          <Path>cmd.exe /c echo GPT ATTRIBUTES=0x8000000000000001 &gt;&gt; X:\diskpart.txt</Path>
        </RunSynchronousCommand>
        <RunSynchronousCommand>
          <Order>14</Order>
          <Path>cmd.exe /c diskpart /s X:\diskpart.txt &gt;&gt; X:\diskpart.log</Path>
        </RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>15</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>16</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>17</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>18</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>19</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassStorageCheck /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>20</Order>
<Path>reg add HKLM\SYSTEM\Setup\MoSetup /v AllowUpgradesWithUnsupportedTPMOrCPU /t reg_dword /d 0x00000001 /f</Path>
</RunSynchronousCommand>
      </RunSynchronous>
Am Schluss der Teil muss aber bleiben?

Code: Alles auswählen

    </component>
	</settings>
</unattend>
Gaming-PC: AMD 7800X3D | RTX 4070 Ti | ASUS ROG Strix X670E-E Gaming WIFI | G.Skill Trident Z5 RGB 32G, DDR5-6000 | Corsair HX1200 | Lian Li Air Mini |
Internet: Magenta | Fritz!Box 6660 Cable | 1028 Mbit/s / 53 Mbit/s |

Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 21.09.2023, 07:35

Wenn Du Dir meine anschaust und die entsprechend modifizierst sollte es gehen. Ich hab ja auch den Setupteil unangetastet gelassen.

Benutzeravatar
Scoty
Senior
Senior
Beiträge: 455
Registriert: 26.10.2009, 15:41
Hat sich bedankt: 109 Mal
Danke erhalten: 10 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Scoty » 21.09.2023, 07:54

Habe die neue autounattend verglichen und bis auf dem kompletten unteren Teil so wie oben noch ein wenig zusatz ist diese eh gleich daher habe ich den unteren Teil komplett herausgenommen wie oben schon angemerkt. Sieht dann nun so aus:

Code: Alles auswählen

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">

	<settings pass="oobeSystem">
		<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<InputLocale>0407:00000407</InputLocale>
			<SystemLocale>de-DE</SystemLocale>
			<UILanguage>de-DE</UILanguage>
			<UILanguageFallback>en-US</UILanguageFallback>
			<UserLocale>de-DE</UserLocale>
		</component>
		<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<TimeZone>W. Europe Standard Time</TimeZone>
			<AutoLogon>
				<Enabled>true</Enabled>
				<LogonCount>9999999</LogonCount>
				<Username>Martin</Username>
				<Password>
					<PlainText>false</PlainText>
					<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
				</Password>
			</AutoLogon>
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<HideLocalAccountScreen>true</HideLocalAccountScreen>
				<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
				<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
				<NetworkLocation>Home</NetworkLocation>
				<ProtectYourPC>3</ProtectYourPC>
			</OOBE>
			<UserAccounts>
				<LocalAccounts>
					<LocalAccount wcm:action="add">
						<Description>Martin</Description>
						<DisplayName>Martin</DisplayName>
						<Group>Administrators;Power Users</Group>
						<Name>Martin</Name>
						<Password>
							<PlainText>false</PlainText>
							<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
						</Password>
					</LocalAccount>
				</LocalAccounts>
			</UserAccounts>
	<FirstLogonCommands>

 	<SynchronousCommand wcm:action="add">
          <Order>1</Order>
	    <Description>FirstLogon</Description>
	    <RequiresUserInput>false</RequiresUserInput>
          <CommandLine>"c:\windows\setup\scripts\FirstLogon.cmd"</CommandLine>
        </SynchronousCommand>

        <SynchronousCommand wcm:action="add">
          <Order>2</Order>
          <CommandLine>net user &quot;Martin&quot; /logonpasswordchg:yes</CommandLine>
        </SynchronousCommand>

      </FirstLogonCommands>
		</component>
	</settings>


	<settings pass="specialize">
		<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<RunSynchronous>

        <RunSynchronousCommand wcm:action="add">
          <Order>1</Order>
          <Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f</Path>
	</RunSynchronousCommand>

	<RunSynchronousCommand wcm:action="add">
	<Order>2</Order>
	<Path>%windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "0" /f</Path>
	</RunSynchronousCommand>

	<RunSynchronousCommand wcm:action="add">
	<Order>3</Order>
	<Path>%windir%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f</Path>
	</RunSynchronousCommand>

	<RunSynchronousCommand wcm:action="add">
	<Order>4</Order>
	<Path>%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -Command "Set-ExecutionPolicy -Scope 'LocalMachine' -ExecutionPolicy 'RemoteSigned' -Force;"</Path>
	</RunSynchronousCommand>

			</RunSynchronous>
		</component>
		
	</settings>


	<settings pass="windowsPE">
		<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<InputLocale>0407:00000407</InputLocale>
			<SystemLocale>de-DE</SystemLocale>
			<UILanguage>de-DE</UILanguage>
			<UILanguageFallback>en-US</UILanguageFallback>
			<UserLocale>de-DE</UserLocale>
			<SetupUILanguage>
				<UILanguage>de-DE</UILanguage>
			</SetupUILanguage>
		</component>
		<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<Diagnostics>
				<OptIn>false</OptIn>
			</Diagnostics>
			<DynamicUpdate>
				<Enable>false</Enable>
				<WillShowUI>OnError</WillShowUI>
			</DynamicUpdate>
			<ImageInstall>
				<OSImage>
					<WillShowUI>OnError</WillShowUI>
				</OSImage>
			</ImageInstall>
			<UserData>
				<AcceptEula>true</AcceptEula>
				<ProductKey>
					<Key></Key>
					<WillShowUI>OnError</WillShowUI>
				</ProductKey>
			</UserData>
		</component>
	</settings>
</unattend>
Deine unattend sieht ja komplett anders aus als jene von @Holgi daher sehe ich mich da nicht mehr aus, was da alles zu ergänzen wäre.
Die nun modifizierte autounattend von mir sollte nun passen. Das noch auf Österreich geändert auch <UserLocale>de-AT</UserLocale>
autounattend2.xml
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Gaming-PC: AMD 7800X3D | RTX 4070 Ti | ASUS ROG Strix X670E-E Gaming WIFI | G.Skill Trident Z5 RGB 32G, DDR5-6000 | Corsair HX1200 | Lian Li Air Mini |
Internet: Magenta | Fritz!Box 6660 Cable | 1028 Mbit/s / 53 Mbit/s |

Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 21.09.2023, 08:00

Jo, schaut mal gut aus. Meine ist eben sehr allgemein gehalten, da wird auch kein Account angelegt und sowas. Da wird zum Schluß lediglich das Script aufgerufen und gut. Deswegen sagte ich ja, schau Dir meine mal an. Wenn Du da den Teil der Accounterstellung hinzufügst, dürfte das ungefähr genauso aussehen wie Deine jetzige. Viele Wege führen halt nach Rom. Für welchen man sich entscheidet, bleibt jedem selber überlassen.

Benutzeravatar
Scoty
Senior
Senior
Beiträge: 455
Registriert: 26.10.2009, 15:41
Hat sich bedankt: 109 Mal
Danke erhalten: 10 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Scoty » 21.09.2023, 08:06

Das der Account drin ist finde ich praktisch, ein paar Fenster weniger zu klicken.
Gaming-PC: AMD 7800X3D | RTX 4070 Ti | ASUS ROG Strix X670E-E Gaming WIFI | G.Skill Trident Z5 RGB 32G, DDR5-6000 | Corsair HX1200 | Lian Li Air Mini |
Internet: Magenta | Fritz!Box 6660 Cable | 1028 Mbit/s / 53 Mbit/s |

Jens1976
Meister
Meister
Beiträge: 322
Registriert: 17.12.2016, 20:37
Hat sich bedankt: 13 Mal
Danke erhalten: 41 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Jens1976 » 21.09.2023, 08:13

Da geb ich Dir Recht. Bei mir stand halt im Vordergrund, da ich viele PCs hier mit immer gleicher Software installieren muß, aber mit unterschiedlichen Benutzern und Diskkonfigurationen, das Setup ansich außen vor zu lassen. Daher meine doch recht "spärliche" unattend.xml.

Benutzeravatar
Holgi
Elite
Elite
Beiträge: 2039
Registriert: 12.05.2018, 12:33
Hat sich bedankt: 187 Mal
Danke erhalten: 250 Mal
Gender:

Re: Programme automatisch installieren nach Installation

Beitrag von Holgi » 21.09.2023, 09:21

@Scoty
„da ich meine ISO mit uup dump mache„
Geht das denn immer noch? Ist uupdump nicht ausgefallen?
PDF24 angepasste Installation (nur PDF Druckertreiber) per Script: viewtopic.php?t=30284
Winget (Desktop App Installer) für Windows Versionen ohne Store installieren (HowTo): viewtopic.php?t=26214
Vorstellung: tiny11builder; Script zur Verschlankung von Windows 11: viewtopic.php?t=30134
Windows StartMenü Empfohlen (Recommended Section) komplett ausblenden: viewtopic.php?t=30574
Hyper-V VM per Script erstellen viewtopic.php?t=25114

Antworten