Microsoft Windows Notes

Jake G April 01, 2022 #Windows

I use Linux 99% of the time, however there is the occasional time when I use or fix Windows.

This page will serve as a place for me to store useful notes related to Microsoft Windows.

Creating a user on the command line

Create a user with a name of "share" and a password of "ExamplePass"

net user share ExamplePass /add

Create a share "ShareName" with a path to share to user share with full access:

net share ShareName="C:\SomeFolder" /GRANT:share,FULL

or if you want to make it read only:

net share ShareName="C:\SomeFolder" /GRANT:share,READ