====== User Management ====== ===== User Properties ===== * Go to **Settings** > **Accounts** and choose "Login with a Local account instead" ==== Home Editions ==== - Open **Run** and type //netplwiz// - Click "Properties" and modify user and full name - Untick "Users must enter a user name and password to use this computer" to allow auto-logon for this user ==== Professional Editions ==== - Open **Control Panel** > **Administrative Tools** > **Computer Management** > **Local Users and Groups** and modify user and full name ===== Auto-logon ===== Set the following keys in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "AutoAdminLogon"="1" "DefaultUserName"="myname" "DefaultPassword"="mypwd" "DefaultDomainName"="mydomain" The domain name entry is not needed for a private LAN with workgroup, but if you set it, set it to the name of your machine (computer) all in caps letters. See [[http://www.sevenforums.com/tutorials/377-log-automatically-startup.html|Log On Automatically at Startup]]. ===== Reserved user folders ===== - Login as the user you want to modify folder permissions - Select the folder, then make sure sharing is disabled (right-click for permissions) - In the General tab, select **Hidden** for this folder only ===== Rename user folder ===== - Enter elevated command prompt, then:net user Administrator /active:yes - Sign off and login to the system Administrator account - For Windows 10 Professional only: Open **Control Panel** > **Administrative Tools** > **Computer Management** > **Local Users and Groups**, then modify the user name and full name. - Rename folder C:\Users\user to the user name you chose before. - Go to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList]. Find the key for your user account, and change //ProfileImagePath//. - Search the entire registry for "C:\Users\user" and rename every occurrence. - Sign off and login to your user account. Disable the system Administrator account:net user Administrator /active:no ===== Create new local user ===== - Select the Start button, and then select **Settings** - Select **Accounts** -> **Family and other users** - Click **Add someone else to this PC** - At the bottom of the page, select **I don’t have this person’s sign-in information** - At the bottom of the next page, select **Add a user without a Microsoft account** - Enter a name for the new account. If you want this person to sign in with a password, enter and verify the password, add a password hint, and then select **Next** and **Finish**. - Reboot to sign into the new local user - Go to **Control Panel --> User Accounts** and change account name and account type if necessary. * [[https://www.youtube.com/watch?v=J_rTOA4gXJI|How to Rename the User’s Folder in Windows 10]] * [[https://superuser.com/questions/117902/find-out-which-process-is-locking-a-file-or-folder-in-windows|Find out which process is locking a file or folder in Windows]]