5
0
Fork 0
mirror of https://codeberg.org/Computertruhe/Setup-Skripte.git synced 2025-06-28 03:16:21 +02:00

Remove Windows related stuff

This commit is contained in:
Mac 2024-08-18 18:36:59 +02:00
parent ed5e36ee01
commit 4e1190d07d
3 changed files with 0 additions and 224 deletions

View file

@ -1,18 +0,0 @@
Write-Host Richte arabisches und persisches Tastatur-Layout ein... -ForegroundColor Yellow
$LanguageList = Get-WinUserLanguageList
#Adds arabisch-Egypt, Persisch to layouts:
$LanguageList.Add("ar-EG")
$LanguageList.Add("fa-IR")
#sets the entries we added above.
Set-WinUserLanguageList $LanguageList
Write-Host Installiere chocolatey und weitere Software für das System -ForegroundColor Yellow
#Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
#Install Software with choclatey
choco install minetest vlc 7zip gimp libreoffice-fresh keepass inkscape firefox thunderbird foxitreader --yes

View file

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<SetupUILanguage>
<UILanguage>de-DE</UILanguage>
</SetupUILanguage>
<InputLocale>de-DE</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UILanguage>de-DE</UILanguage>
<UserLocale>de-DE</UserLocale>
<UILanguageFallback></UILanguageFallback>
</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">
<UserData>
<AcceptEula>true</AcceptEula>
<Organization>computertruhe</Organization>
<ProductKey>
<Key></Key>
<WillShowUI>Always</WillShowUI>
</ProductKey>
</UserData>
</component>
</settings>
<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>de-DE</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UILanguage>de-DE</UILanguage>
<UILanguageFallback></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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>ein Test</Description>
<DisplayName>User</DisplayName>
<Group>Administrators</Group>
<Name>User</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>powershell -ExecutionPolicy Unrestricted -F C:\Setup.ps1</CommandLine>
<Description>adds keyboard layouts</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/users/stefan/desktop/test/win10/sources/install.wim#Windows 10 Home" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

View file

@ -1,142 +0,0 @@
# Liesmich für die setup.ps1
Windows Powershell Script um automatisiert mittels Chocolately Programme zu installieren und Windowseinstellungen zu machen.
## Script ausführen:
* Powershell suchen
* rechte Maustaste und "als Administrator ausführen" wählen
* Sicherheitsmeldung bestätigen
### Im Powershell-Fenster
* Befehl "set-executionPolicy -scope process bypass" ausführen.
* Meldung mit "j" und Entertaste bestätigen
Damit wird die Windowssicherheit für dieses Fenster (Session) ausgeschaltet und Du kannst das Script ausführen.
* Script ausführen z.B. "c:\setup.ps1"
* Warten bis die Programme installiert sind. Am Ende kommt eine Erfolgsmeldung, was alles installiert wurde.
## Script Anpassen
### Windows Einstellungen
* to be done
### Chocolatey
Chocolatey ist ein Paketmanager, mit dem Du unter Windows vollautomatisiert Programme installieren kannst.
https://chocolatey.org/
Im Skript wird das Programm installiert und die Installation einiger Programme angestoßen.
Die Installation im Skript erfolgt über "choco install Programmname".
Verfügbare Programmpakete findest Du unter https://community.chocolatey.org/packages
### Windows Apps deinstallieren
Alle Apps deinstalieren (Vorsicht!):
Get-AppxPackage | Remove-AppxPackage
Alle Apps bis auf einige Ausnahmen deinstallieren (Vorsicht!)
Get-AppxPackage | where-object {$_.name notlike “*store*”} | where-object {$_.name notlike “*communicationsapps*”} | where-object {$_.name notlike “*people*”} | Remove-AppxPackage
Alle Standardapps wieder installieren
Get-AppxPackage | foreach {Add-AppxPackage -register „$($_.InstallLocation)\appxmanifest.xml“ -DisableDevelopmentMod}
Einzelne Apps deinstallieren:
3D Builder
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Alarm und Uhr
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
Asphalt 8: Airborne
Get-AppxPackage *Asphalt8Airborne* | Remove-AppxPackage
Begleiter für Telefon
Get-AppxPackage *windowsphone* | Remove-AppxPackage
Candy Crush Saga
Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage
Drawboard PDF
Get-AppxPackage *DrawboardPDF* | Remove-AppxPackage
Erste Schritte
Get-AppxPackage *getstarted* | Remove-AppxPackage
Facebook
Get-AppxPackage *Facebook* | Remove-AppxPackage
Feedback Hub
Get-AppxPackage *feedback* | Remove-AppxPackage
Filme & TV
Get-AppxPackage *zunevideo* | Remove-AppxPackage
Finanzen
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Fotos
Get-AppxPackage *photos* | Remove-AppxPackage
Groove-Musik
Get-AppxPackage *zunemusic* | Remove-AppxPackage
Kalender & Mail
Get-AppxPackage *communicationsapps* | remove-appxpackage
Kamera
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Karten
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
Kontakte
Get-AppxPackage *people* | Remove-AppxPackage
Microsoft Solitaire Collection
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Nachrichten
Get-AppxPackage *bingnews* | Remove-AppxPackage
Nachrichten & Skype
Get-AppxPackage *messaging* | remove-appxpackage
Office holen
Get-AppxPackage *officehub* | Remove-AppxPackage
OneNote
Get-AppxPackage *onenote* | Remove-AppxPackage
Paint 3D
Get-AppxPackage *mspaint* | Remove-AppxPackage
Rechner
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
Skype
Get-AppxPackage *skypeapp* | Remove-AppxPackage
Sport
Get-AppxPackage *bingsports* | Remove-AppxPackage
Sprachrekorder
Get-AppxPackage *soundrecorder* | Remove-AppxPackage
Windows DVD Player
Get-AppxPackage *dvd* | Remove-AppxPackage
Xbox Identity Provider
Get-AppxPackage *xboxIdentityprovider* | Remove-AppxPackage
Xbox
Get-AppxPackage *xboxapp* | Remove-AppxPackage
Weitere Informationen
https://www.deskmodder.de/wiki/index.php/Windows_10_Apps_entfernen_deinstallieren