Windows: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(windows optimieren)
(Windows Default Programme deinstallieren)
Zeile 79: Zeile 79:
  
 
<source>
 
<source>
Get-AppxPackage --AllUsers *3dbuilder* | Remove-AppxPackage
+
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage --AllUsers *Asphalt8Airborne* | Remove-AppxPackage
+
Get-AppxPackage *Asphalt8Airborne* | Remove-AppxPackage
Get-AppxPackage --AllUsers *windowsphone* | Remove-AppxPackage
+
Get-AppxPackage *windowsphone* | Remove-AppxPackage
Get-AppxPackage --AllUsers *CandyCrushSaga* | Remove-AppxPackage
+
Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage
Get-AppxPackage --AllUsers *getstarted* | Remove-AppxPackage
+
Get-AppxPackage *getstarted* | Remove-AppxPackage
Get-AppxPackage --AllUsers *Facebook* | Remove-AppxPackage
+
Get-AppxPackage *Facebook* | Remove-AppxPackage
Get-AppxPackage --AllUsers *feedback* | Remove-AppxPackage
+
Get-AppxPackage *feedback* | Remove-AppxPackage
Get-AppxPackage --AllUsers *zunevideo* | Remove-AppxPackage
+
Get-AppxPackage *zunevideo* | Remove-AppxPackage
Get-AppxPackage --AllUsers *bingfinance* | Remove-AppxPackage
+
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Get-AppxPackage --AllUsers *windowscamera* | Remove-AppxPackage
+
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Get-AppxPackage --AllUsers *windowsmaps* | Remove-AppxPackage
+
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
Get-AppxPackage --AllUsers *solitairecollection* | Remove-AppxPackage
+
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Get-AppxPackage --AllUsers *bingnews* | Remove-AppxPackage
+
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage --AllUsers *officehub* | Remove-AppxPackage
+
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage --AllUsers *onenote* | Remove-AppxPackage
+
Get-AppxPackage *onenote* | Remove-AppxPackage
Get-AppxPackage --AllUsers *bingsports* | Remove-AppxPackage
+
Get-AppxPackage *bingsports* | Remove-AppxPackage
Get-AppxPackage --AllUsers *xboxIdentityprovider* | Remove-AppxPackage
+
Get-AppxPackage *xboxIdentityprovider* | Remove-AppxPackage
Get-AppxPackage --AllUsers *xboxapp* | Remove-AppxPackage
+
Get-AppxPackage *xboxapp* | Remove-AppxPackage
Get-AppxPackage  king.com.* | Remove-AppxPackage
+
Get-AppxPackage  king.com.* | Remove-AppxPackage
 
</source>
 
</source>
  

Version vom 20. November 2019, 13:34 Uhr

  • avira / avg
  • sunbeld

MS PowerShell

windows befehle

allgemeine Befehle

https://www.thomas-krenn.com/de/wiki/Cmd-Befehle_unter_Windows

Dateien kopieren - robocopy

https://docs.microsoft.com/de-de/windows-server/administration/windows-commands/robocopy https://michael.mckinnon.id.au/2011/06/27/how-to-do-windows-backups-with-robocopy-tips/


robocopy /Z /E /R:0 /W:0 <source-path> <dest-path> /XD "Temp" "Temporary Internet Files" /XF pagefile.sys hiberfil.sys


Dateien in sein Eigentum überführen - (linux: chown)

takeown /f ‹Verzeichnisname› /r /d y

Ad­minis­tra­toren-Gruppe alle Rechte geben (linux: chgrp root; chmod g+rwx; )

icacls ‹Verzeichnisname› /grant Administratoren:F /t

Verzeichnis löschen (linux: rm -r)

rd /s /q ‹Verzeichnisname›

Windows Probleme

Windows: Nicht löschbare Dateien löschen / Trusted Installer sperrt Dateien

https://www.windowspro.de/andreas-kroschel/windows-nicht-loeschbare-dateien-loeschen

takeown /f ‹Verzeichnisname› /r /d y
icacls ‹Verzeichnisname› /grant Administratoren:F /t
rd /s /q ‹Verzeichnisname›

pidgin

  1. pidgin runterladen
    1. runtergeladende datei pidgin-X.Y.Z.exe ausführen, also installieren
  2. otr verschlüsselung runterladen (direkt link pidgin-otr-4.0.0-1.exe aber lieber noch mal schauen ob nicht ne aktuellere Version existiert )
    1. runtergeladende datei pidgin-otr-X.Y.Z.exe ausführen, also installieren
  3. pidgin starten
    1. Benutzeraccount: Dateileiste > Konten verwalten > Hinzufügen
      1. Protokoll: für Jabber XMPP wählen
      2. Benutzer: userXYz (das was vor dem @ ist)
      3. Domäne: jabber.ccc.de (das was nach dem @ ist)
      4. Passwort: ein sicheres Passwort
      5. falls der Benutzer noch nicht exisitert: ganz am Ende Checkbox aktivieren "Dieses Konto neu auf dem Server anlegen"
    2. OTR aktivieren: Dateileiste > Werkzeuge > Erweiterungen/Pluings
      1. Off-the-Record Messaging: checkbox aktivieren
      2. evt über "Erweiterung einrichten" privaten Schlüssel manuell erstellen

Registry

Fremde HKEY_CURRENT_USER

windows optimieren

https://www.heise.de/tipps-tricks/Windows-10-schneller-machen-so-klappt-s-3978647.html

Windows Default Programme deinstallieren

powershell

Get-AppxPackage  *3dbuilder* | Remove-AppxPackage
Get-AppxPackage  *Asphalt8Airborne* | Remove-AppxPackage
Get-AppxPackage  *windowsphone* | Remove-AppxPackage
Get-AppxPackage  *CandyCrushSaga* | Remove-AppxPackage
Get-AppxPackage  *getstarted* | Remove-AppxPackage
Get-AppxPackage  *Facebook* | Remove-AppxPackage
Get-AppxPackage  *feedback* | Remove-AppxPackage
Get-AppxPackage  *zunevideo* | Remove-AppxPackage
Get-AppxPackage  *bingfinance* | Remove-AppxPackage
Get-AppxPackage  *windowscamera* | Remove-AppxPackage
Get-AppxPackage  *windowsmaps* | Remove-AppxPackage
Get-AppxPackage  *solitairecollection* | Remove-AppxPackage
Get-AppxPackage  *bingnews* | Remove-AppxPackage
Get-AppxPackage  *officehub* | Remove-AppxPackage
Get-AppxPackage  *onenote* | Remove-AppxPackage
Get-AppxPackage  *bingsports* | Remove-AppxPackage
Get-AppxPackage  *xboxIdentityprovider* | Remove-AppxPackage
Get-AppxPackage  *xboxapp* | Remove-AppxPackage
Get-AppxPackage  king.com.* | Remove-AppxPackage

Windows-Oberfläche beschleunigen

  • Befehl "Sysdm.cpl" > "Erweitert" > "Leistung" "Einstellungen".
    • erstmall kann alles aus, bis auf "Kanten der Bildschirmschriftarten verfeinern"

windows subsystem

laufwerk (usb/ssd) mounten

mount -t drvfs f: /mnt/f

subsystem ubuntu installieren

  • als Administrator in der powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • neustart
  • als Administrator in der powershell (hat schlußendlich nicht funktioniert
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
Add-AppxPackage .\Ubuntu.appx
  • also doch über den store :(

x server isntallieren

  • vcxsrv-64.1.20.5.1.installer.exe auf https://sourceforge.net/projects/vcxsrv/ downloaden
  • Neustart
  • Startmenu => rechte Maustaste auf XLaunch > Mehr > Dateispeicherplatz öffnen > Link kopieren
  •  %appdata%\Microsoft\Windows\Start Menu\Programs\Startup und einfügen
  • ubuntu subsystem starten
 echo "export DISPLAY=localhost:0.0" >> ~/.bashrc

Fehlermeldungen

Can't find DISPLAY -- guessing `unix:0' at ...

export DISPLAY=:0