how to add user used for shared folder to local user?!!

Networking, connecting to the internet, wi-fi and home entertainment
siamandm
5StarLounger
Posts: 1192
Joined: 01 May 2016, 09:58

how to add user used for shared folder to local user?!!

Post by siamandm »

Hello All
lets say i have a shared folder called Share, and its shared to a user user01 with password1 ,
now when i map this folder on any computer it ask for user01 and password1, now how to add user01 to any computer i want to open this folder on it ..
for example a user John has been logged in to the computer with user name John ,

regards

User avatar
HansV
Administrator
Posts: 78236
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: how to add user used for shared folder to local user?!!

Post by HansV »

The network administrator should create a usergroup.
Give this group permissions on the folder.
Add the users who should be able to use the folder to the usergroup.

If ALL users should be able to use the folder, the default group Everyone can be used for this purpose.
Best wishes,
Hans

siamandm
5StarLounger
Posts: 1192
Joined: 01 May 2016, 09:58

Re: how to add user used for shared folder to local user?!!

Post by siamandm »

thank you for the reply
actually what I did
I have dsl router whith usb port , which has storage serveice ... it allow you to share you hard disk connected to the router ... and you can create a user name to access the hard disk ...
so basicly the user name is not exisit on computer ... you create it on the router .

so how you add that user name which has been created on the router to the computer in shuch away to allow to access to the hard drive.

User avatar
HansV
Administrator
Posts: 78236
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: how to add user used for shared folder to local user?!!

Post by HansV »

I'll leave that for the local network experts to answer. I don't know, sorry.
Best wishes,
Hans

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: how to add user used for shared folder to local user?!!

Post by StuartR »

You can use "Control Panel > User Accounts" to create an account on the computer that has the same username and password as the one on the router.
StuartR


siamandm
5StarLounger
Posts: 1192
Joined: 01 May 2016, 09:58

Re: how to add user used for shared folder to local user?!!

Post by siamandm »

thank you for the reply
OK, after adding the user name in the controlpanel , how make the shared folder use that user name to access the folder when the user double click the mapped folder. because usually the shared folder will use the current logged in user name and password.
regards

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: how to add user used for shared folder to local user?!!

Post by StuartR »

You can specify a username and password when you connect to the remote drive. If you do this from a command prompt then the syntax is:

NET USE H: \\servername\sharename /USER:username password
(replace servername, sharename, username and password with the correct values)
StuartR


User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: how to add user used for shared folder to local user?!!

Post by StuartR »

Alternatively you can create a username and password on the router that matches the one you actually use on the local PC.
StuartR


siamandm
5StarLounger
Posts: 1192
Joined: 01 May 2016, 09:58

Re: how to add user used for shared folder to local user?!!

Post by siamandm »

StuartR wrote:You can specify a username and password when you connect to the remote drive. If you do this from a command prompt then the syntax is:

NET USE H: \\servername\sharename /USER:username password
(replace servername, sharename, username and password with the correct values)

thanks a lot for your reply
I tried this the net use only works without /user:..... !!! ,if I write the user name and password which has been created on the router ... it will not create the map drive!!

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: how to add user used for shared folder to local user?!!

Post by StuartR »

This could be because you already have a connection to the router using a different username.

Try
NET USE * /DELETE (this will unmap any existing mapped drives)
NET USE \\routername\IPC$ /USER:username password (this will establish a connection to the router for any future mapped drives)
StuartR


siamandm
5StarLounger
Posts: 1192
Joined: 01 May 2016, 09:58

Re: how to add user used for shared folder to local user?!!

Post by siamandm »

tried this not working !!! , I think I have to map the drive using the windows wizard and supply the user name and password manually.
thanks for your help.

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: how to add user used for shared folder to local user?!!

Post by StuartR »

Let us know if that works for you
StuartR