Question : Connect to Share in workgroup without being prompted for password

I have one Windows Server 2008 R2 Standard server with 7 Windows XP computers. I have set up shares on the server for the users to access. They are all prompted for Usernames and passwords. I don't want them to be prompted, just to be able to access the file share(s). They are all in the same workgroup.

Any help would remove aggravation from the users.

Answer : Connect to Share in workgroup without being prompted for password

Very simple.
If he is connecting from the owner's home we can safely assume it will either be from the same PC or a small set of known machines.
In that case, get the computer names.
Then change the logon script that runs for everyone in a TS (USRLOGON.CMD) and at the end add something like:

IF NOT %USERNAME% == "that_particular_username" Goto End
IF %CLIENTNAME% NEQ "Computer_Name" TSLOGOFF
:End

So resuming: check if the username matches the user you want to allow. If not, simply skip to the end (meaning do nothing). But if it matches it will go to the next line and check the %CLIENTNAME% (this passes the computer name the client is connecting from). If it does NOT match the one you want to allow, run a TSLOGOFF what will kick him out of the system.
Is this what you are looking for?

Cláudio Rodrigues
Citrix CTP
Random Solutions  
 
programming4us programming4us