User Tools

Site Tools


microsoft_windows:terminalserver:nextcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
microsoft_windows:terminalserver:nextcloud [2023/11/08 03:04] rodolicomicrosoft_windows:terminalserver:nextcloud [2023/11/08 03:11] (current) rodolico
Line 18: Line 18:
   - Set the Windows admin user to automatically be logged in on system startup   - Set the Windows admin user to automatically be logged in on system startup
  
 +**Warning**: If the admin user is ever logged out, backups of Public Documents will stop without warning. Therefor, access to the Windows admin user should be limited.
 +
 +===== Auto Login User =====
 +
 +==== Easy Way ====
 Microsoft provides a manual way to automatically log in a user on system startup, but they also have a utility in their sysinternals package that provides a basic GUI to allow you to do it. See https://learn.microsoft.com/en-us/sysinternals/downloads/autologon. An additional benefit is that the Autologon utility encrypts the password. This is the recommended procedure. Microsoft provides a manual way to automatically log in a user on system startup, but they also have a utility in their sysinternals package that provides a basic GUI to allow you to do it. See https://learn.microsoft.com/en-us/sysinternals/downloads/autologon. An additional benefit is that the Autologon utility encrypts the password. This is the recommended procedure.
  
-===== Manual Setup =====+==== Manual Setup ====
  
 If you want to set up the autologon manually, create a .reg file with the following content, then run it. If you want to set up the autologon manually, create a .reg file with the following content, then run it.
Line 31: Line 36:
 Obviously, replace USERNAME and PASSWORD with the correct values for your system. **Warning**: the password is stored in plain text using this approach. Obviously, replace USERNAME and PASSWORD with the correct values for your system. **Warning**: the password is stored in plain text using this approach.
  
-===== Lock Screen on new session =====+==== Lock Screen on new session ====
  
 The only issue with this is that the user is logged in, with an open session when the server boots. One process I have not tried, but is well documented, is to create a startup script for that user which will automatically lock the screen, requiring a password to unlock. The only issue with this is that the user is logged in, with an open session when the server boots. One process I have not tried, but is well documented, is to create a startup script for that user which will automatically lock the screen, requiring a password to unlock.
Line 48: Line 53:
 Which will open the location for the individual users startup. Copy the file into that location and, whenever the user logs in, their screen will automatically lock. Which will open the location for the individual users startup. Copy the file into that location and, whenever the user logs in, their screen will automatically lock.
  
 +===== Links =====
 +
 +I found information in the following links which I used in this article
  
 +  * https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
 +  * https://serverfault.com/questions/840557/auto-login-a-user-at-boot-on-windows-server-2016
 +  * https://jc-lan.org/2022/06/02/autologon-user-at-startup-in-windows-server/
 +  * https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon
 +  * https://serverfault.com/questions/840557/auto-login-a-user-at-boot-on-windows-server-2016
 +  * https://4it.com.au/kb/article/how-to-automatically-logon-and-lock-a-windows-server/
  
microsoft_windows/terminalserver/nextcloud.1699434251.txt.gz · Last modified: 2023/11/08 03:04 by rodolico