Add User and Set Password to Never Expire (especially for Scanning User)

Net user Scanning Scanning12 /add


Make PW never expire

  • Command Line Admin: WMIC USERACCOUNT where Name=’Scanning’ set PasswordExpires=False
  • Powershell Admin: Set-LocalUser -Name “Scanning” -PasswordNeverExpires $true

Commands to Setup and Share Scans Folder through CLI

Mkdir C:\SCANS (creates Scans folder)

Dir C:\ (to confirm Scans folder creation)

Cd c:\scans (to select scans folder)

Net share scans=c:\scans /grant:Scanning,full (to grant read/write permissions with Scanning User – confirm permissions if needed)