Wednesday, February 27, 2008

Using Network Share in Windows XP

Do you have to connect to different folder in remote Windows XP share folder with different rights? For example, I sometimes need to copy a file to share folder "NOC" and after that I need to copy another file to share folder "ITDEPT".

Both of them located in remote windows computer that has different login and password for each (since this NOC and ITDEPT has different members). FYI the setting of rights of those folder in the remote server will be not provided here, but it it must be have read and write rights both on those folders with different logins. For this kind situation we can use below step:

For example in remote windows share you login as user "noc" with its password and will be directed to folder NOC automatically. Use this command from command prompt:

net use m: \\remotefileserver\NOC /user:Accounts\NOC

or you can use windows explorer to browse to that remote folder in the network neighborhood.
Then you copy a file to that folder. File copied succesfully.
After that you can disconnect the connection:

net use m: /delete

then reconnect to the same server with user "itdept" and its password:

net use m: \\remotefileserver\ITDEPT /user:Accounts\ITDEPT

Try to copy a file to "ITDEPT" folder. Now you can copy a file to it !!!

No comments: