Windows Setup For Developers (The Basics)

Contributor Covenant License: MIT

Configure Windows for software development

Task 1: Turn on Developer Settings

  1. In Windows go to Settings / Update & Security / For Developers.
  2. Scroll down to “File Explorer”. Grey checks are enabled, blue checks are not yet enabled. Verify the following settings are checked:
    • “Change settings to show file extensions”
    • “Change settings to show hidden and system files”
    • “Change settings to show full path in title bar”
  3. Click “Apply”. Verify the above settings now have grey checks.
  4. Scroll down to “PowerShell”. Verify the following option is checked.
    • “Change execution policy to allow local PowerShell scripts to run without signing. Require signing for remote scripts.”
  5. Click “Apply”. Check should now be grey.

Learn about PowerShell

PowerShell allows us to type commands affecting our computer. It allows us to create new files and folders, install programs, run programs, and more.

PowerShell Privileges

By default, Windows will launch PowerShell without administrator privileges. However, when using PowerShell to perform advanced functions such as installations, you will need Admin priviledges which allow you to create, delete, and modify settings and items such as files, folders, and environment variables. PowerShell is often used with software development projects.

Task 2: Add “Open PowerShell window here as administrator”

Windows File Explorer provides a context menu when you right-click inside a folder. Open File Explorer, go to “My Documents” and try it. We want to add an item to this context menu so that when we click in a working folder, we can open a PowerShell Admin window here - ready to execute commands in this specific location on our machine.

First, read How to Add “Open PowerShell window here as administrator” context menu in Windows 10

Then, update your folder context menu:

  1. Scroll down on the page linked above.
  2. Go to Step 2 and click Download.
  3. Follow Steps 5-9.

Finally, verify. Open File Explorer, go to “Documents” and right-click on a folder. You should see the option to “Open PowerShell here as administrator”.

Know These Terms

Next Steps

See Also