adding share through net use

Windows Access Rights Management

adding share through net use

Postby jhcorma » Mon Nov 02, 2009 5:49 pm

Hi we have a TS-509

to add a share using the net use command it is like this

net use k: \\NASNAME\share /USER:NAS8d1267\user password

and to change the label you need to change the registry here

WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\##NASNAME#share\_LabelFromReg", "YourLabel"

but i don't know if is this key "_LabelFromDesktopINI"


i know i can add to the AD the nas, but im in a scenario, that it is besser when i left the nas out of the AD
jhcorma
New here
 
Posts: 3
Joined: Thu Aug 27, 2009 4:56 pm
NAS Model: NMP-1000

Return to Windows

Who is online

Users browsing this forum: No registered users and 2 guests