Skip to content

wowdevjp/SetupPwsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SetupPwsh

This repository is a collection of scripts for changing Windows10 settings.

These are for program development and experiment use only.

Tamper Protection

!! Constant use is not recommended. !!

Disable Tamper Protection to run scripts.

Scripts

Scripts are written for each configuration or category.

  • Disable Firewall
  • Disable Windows Defender Realtime Protection
  • Display file extentions and hidden files
  • Disable SmartScreen
  • Disable Windows Update
    • Disable Windows Update Schedule
  • Disable Update and Shutdown
  • Disable EdgeSwipe
  • Disable HelpHint
  • Set HighPerformance mode
  • Disable request password login when wake up from sleep mode
  • Allow login without password
  • Disable Notification
    • Toast
    • Balloon
    • Hint to use and recommendation
  • Disable Automatic Window Arrangement
  • Set the desktop background to #000000
  • Hide Trash on the desktop
  • Install OpenSSH Server (Optional)

Utility

RestartProcessOnKill.ps1

Re-execute the -Command command/application 3 seconds after it is executed.

./RestartProcessOnKill.ps1 -Command "~/Desktop/app.exe" -CommandAfterKill "Remove-Item ~/Desktop/example-cache"

Re-execute multiple commands/applications

Start-Process -FilePath "powershell.exe" -ArgumentList "C://hoge/hoge/RestartProcessOnKill.ps1 -Command '~/Desktop/app.exe'"
Start-Process -FilePath "powershell.exe" -ArgumentList "C://hoge/hoge/RestartProcessOnKill.ps1 -Command '~/Desktop/app2.exe'"
Start-Process -FilePath "powershell.exe" -ArgumentList "C://hoge/hoge/RestartProcessOnKill.ps1 -Command '~/Desktop/app3.exe'"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published