Set Explorers LaunchTo Computer.ps1 372 B

123456789
  1. # "This Computer"-Button starts the explorer on the following path:
  2. # LaunchTo Value Description
  3. # 1 Computer (Harddrives, Network, etc.)
  4. # 2 Fast Access
  5. # 3 Downloads (The Download-Folder)
  6. Write-Host "Set Explorers Entry Point"
  7. $LaunchTo = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
  8. Set-ItemProperty $LaunchTo LaunchTo -Value 1