Method 1 - Use CMD & Registry Editor
Command Prompt:
mkdir "c:\Ricoh Scan"net user /add scanner Scann3r!net user scanner Scann3r!net share "Ricoh Scan"="c:\Ricoh Scan" /GRANT:scanner,FULLmklink /D "%userprofile%\Desktop\Ricoh Scan" "c:\Ricoh Scan"wf.msccontrol.exe /name Microsoft.NetworkAndSharingCenter
WMIC USERACCOUNT WHERE Name='scanner' SET PasswordExpires=FALSE
pause
net user scanner
pause
echo\ %computername%
pause
2. Hide newly created user to prevent messy login screen.
To hide newly created username from LogOn Screen, go to Registry Editor [Regedit]. Create new key (SpecialAccounts & UserList) (Refer path below) create "DWORD (32-bit) Value" named "scanner" in registry & set value to "0" (zero).
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
Or download .reg file below, run and accept all.
Download Registry for Hide scanner User on LogOn Screen
Registry Download for Hide scanner User on LogOn Screen & Prevent Downloading Windows Update.
3. On machine, key in shared folder path with Authentication info, username:password. [scanner:Scann3r!]
in case your scan directory in D:
mkdir "D:\\Scan"net user /add scanner Scann3r!net user scanner Scann3r!net share "Ricoh Scan"="D:\Scan" /GRANT:scanner,FULLmklink /D "%userprofile%\Desktop\Scan" "D:\Scan"wf.msccontrol.exe /name Microsoft.NetworkAndSharingCenter
WMIC USERACCOUNT WHERE Name='scanner' SET PasswordExpires=FALSE
pause
echo\ %computername%
pause
In case your scanner is another brand (zetto:#Z3ttos!):
mkdir "c:\Scanner"net user /add zetto #Z3ttos!net user zetto #Z3ttos!net share "Ricoh Scan"="c:\zetto" /GRANT:scanner,FULLmklink /D "%userprofile%\Desktop\Scanner" "c:\Scanner"wf.msccontrol.exe /name Microsoft.NetworkAndSharingCenter
WMIC USERACCOUNT WHERE Name='zetto' SET PasswordExpires=FALSE
pause
net user zetto
echo\ %computername%
pause
ITSUPPORT username
mkdir "c:\Ricoh Scan"net user /add itsupport Support1212!net user itsupport Support1212!net share "Ricoh Scan"="c:\Ricoh Scan" /GRANT:itsupport,FULLmklink /D "%userprofile%\Desktop\Ricoh Scan" "c:\Ricoh Scan"wf.msccontrol.exe /name Microsoft.NetworkAndSharingCenter
WMIC USERACCOUNT WHERE Name='itsupport' SET PasswordExpires=TRUE
pause
net accounts /maxpwage:18
pause
net user itsupport
pause
echo\ %computername%
pause
Download Registry for Hide itsupport User on LogOn Screen
Registry Download for Hide itsupport User on LogOn Screen & Prevent Downloading Windows Update.
No comments:
Post a Comment