windows

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
windows [23/01/2020 - 14:29] thommie3windows [20/06/2025 - 13:45] (aktuell) – [Powershell: Private auusdrücklich für ein Profil setzen] thommie_netzwissen.de
Zeile 10: Zeile 10:
 </code> </code>
  
-Patch Status mit PS get-hotfix<code>+Patch Status mit PS get-hotfix 
 +<code>
  
 PS C:ProgramDataMercedes-BenzUserDatalogsXentry> get-hotfix PS C:ProgramDataMercedes-BenzUserDatalogsXentry> get-hotfix
Zeile 26: Zeile 27:
 </code> </code>
  
 +
 +===== Windows 11 ohne Kontozwang =====
 +
 +https://www.tomshardware.com/how-to/install-windows-11-without-microsoft-account
 +
 +Beim Schirm "Land auswählen" wird die Netzverbindung per CMD über Shift + F10 getrennt
 +
 +{{ ::e8wentryhwlkgr8voytsti-1200-80.png.webp |}}
 +
 +Danach folgt Neustart, dann nochmal CMD und mit ipconfig /release die Verbindung trennen. Danach weiter mit der Sprachauswahl, Keyboard usw. Dann statt "lets connect to a network" den Menüpunkt "I don't have Internet" wählen. Dann kann man ein **lokales Konto** anlegen.
 ===== Tail und Logfiles ===== ===== Tail und Logfiles =====
  
Zeile 43: Zeile 54:
 ===== Grosse Dateien suchen ===== ===== Grosse Dateien suchen =====
  
-< 1 GB<code>+< 1 GB 
 +<code>
  
 //forfiles /S /M * /C “cmd /c if @fsize GEQ 1073741824 echo @path> largefiles.txt// //forfiles /S /M * /C “cmd /c if @fsize GEQ 1073741824 echo @path> largefiles.txt//
Zeile 49: Zeile 61:
 </code> </code>
  
-===== Verlorene Fenster verschieben =====+===== Windows Defender auf der Kommandozeile =====
  
-Wenn ein Fenster ausserhalb des sichtbaren Bereichs geöffnet wird:+Quick scan in einem Verzeichnis
  
-[[https://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/|https://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/]]+<code><font inherit/inherit;;#800000;;inherit>"%ProgramFiles%\Windows Defender\MpCmdRun.exe"</font> <font inherit/inherit;;pink;;inherit>-</font>Scan <font inherit/inherit;;pink;;inherit>-</font>ScanType 1 <font inherit/inherit;;#FF0000;;inherit>-File</font> <font inherit/inherit;;#800000;;inherit>"D:\Folder\Path"</font> 
 + 
 +</code> 
 + 
 +Full scan 
 + 
 +<code> 
 +<font inherit/inherit;;#800000;;inherit>"%ProgramFiles%\Windows Defender\MpCmdRun.exe"</font> <font inherit/inherit;;pink;;inherit>-</font>Scan <font inherit/inherit;;pink;;inherit>-</font>ScanType 2 <font inherit/inherit;;#FF0000;;inherit>-File</font> <font inherit/inherit;;#800000;;inherit>"D:\Folder\Path"</font> 
 + 
 +</code> 
 + 
 +Bootsektor scannen 
 + 
 +<code> 
 +<font inherit/inherit;;#800000;;inherit>"%ProgramFiles%\Windows Defender\MpCmdRun.exe"</font> <font inherit/inherit;;pink;;inherit>-</font>Scan <font inherit/inherit;;pink;;inherit>-</font>ScanType BootSectorScan 
 + 
 +</code>
  
 ===== Network location settings ===== ===== Network location settings =====
  
-Registry:<code>+Registry:
  
 +<code>
 HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/NetworkList/Profiles HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/NetworkList/Profiles
  
Zeile 67: Zeile 96:
 0 = public,1 = work, 2 = domain 0 = public,1 = work, 2 = domain
  
-===== Setting network profile with PowerShell: =====+===== PowerShell: Netzwerk Profil setzen ===== 
 + 
 +Status auslesen
  
 ''Get-NetConnectionProfile '' ''Get-NetConnectionProfile ''
  
-See the network name you want to change its type and run the following command:+Netzwerk-Kategiorie setzenPublic oder Private. Nur mit Private geht RDP. 
 + 
 +''Set-NetConnectionProfile -Name “ITT” -NetworkCategory Public'' 
 + 
 +''Set-NetConnectionProfile -InterfaceIndex “11” -NetworkCategory Private'' 
 +===== Lösungen für "unidentifiziertes Netzwerk" ===== 
 + 
 +==== Reset per netsh ==== 
 + 
 +<code> 
 +netsh winsock reset 
 +netsh int ip reset 
 + 
 +</code> 
 +==== Powershell ==== 
 + 
 +Private ausdrücklich für ein Profil setzen 
 + 
 +<code> 
 +Set-NetConnectionProfile -InterfaceIndex “11” -NetworkCategory Private 
 + 
 +</code> 
 + 
 + 
 +==== Lokale Gruppenrichtlinie: secpol.msc ====
  
-''Set-NetConnectionProfile -Name “ITT” -NetworkCategory Public ''+  * Netzwerklisten-Manager-Richtlinien 
 +  * - Nicht identifizierte Netzwerke: privat
  
-Where ITT is the name of your network and you can change the -NetworkCategory switch value to Public or Private. 
  
 ===== netsh Befehle ===== ===== netsh Befehle =====
  • windows.1579789784.txt.gz
  • Zuletzt geändert: 17/08/2024 - 07:06
  • (Externe Bearbeitung)