Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
1856 views

net use problem

during my log in script i have a line i am trying to get to work .. it
maps to a windows server .. i am using the following line

net use \\server\share /user:user password

it throws up an error during the log in script but if i put this in a
batch file and then call that file during the log in script it works ok
... any ideas?
thanks
ryan
Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: net use problem

Ryan,

Since NET USE is an external command to an eDirectory login script you
will need to start the line with a # or @ character as desired...

How to Map Drives to NT Servers from NetWare Login Script
http://support.novell.com/cgi-bin/search/searchtid.cgi?/10024207.htm

--
Tony Pedretti
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: net use problem

Tony Pedretti wrote:
> Ryan,
>
> Since NET USE is an external command to an eDirectory login script you
> will need to start the line with a # or @ character as desired...
>
> How to Map Drives to NT Servers from NetWare Login Script
> http://support.novell.com/cgi-bin/search/searchtid.cgi?/10024207.htm
>

thanks a bunch!! i dont understand how some of you find these tids?? i
look and look and seem to not find the ones i am looking for!! 🙂
thanks again!
ryan
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: net use problem

> thanks a bunch!! i dont understand how some of you find these tids?? i
> look and look and seem to not find the ones i am looking for!! 🙂


Ya gotta be creative with the keyword searches.

--
Tony Pedretti
TransUnion Corporation


0 Likes
Anonymous_User Absent Member.
Absent Member.

net use problem

You can also place this in the registry so that it maps for you with out
running the net use command. Here is what I use for one example. The
passwords and accounts on the windows and netware servers have to match
as well.

REGEDIT4

// Registry file generated by the Application Launcher.

[HKEY_CURRENT_USER\Network]

[HKEY_CURRENT_USER\Network\M]
"ConnectionType"=dword:00000001
"DeferFlags"=dword:00000001
"ProviderName"="Microsoft Windows Network"
"ProviderType"=dword:00020000
"RemotePath"="\\\\server1.company.com\\divisions\\ci"
"UserName"="tree\\%USERNAME%"

[HKEY_CURRENT_USER\Software]

[HKEY_CURRENT_USER\Software\Microsoft]

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT]

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion]

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Network]

[HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Network\Persistent Connections]
"SaveConnections"="yes"

Tom Bannigan
Novell CNE 5 & 6
Sarcom

> during my log in script i have a line i am trying to get to work .. it
> maps to a windows server .. i am using the following line
>
> net use \\server\share /user:user password
>
> it throws up an error during the log in script but if i put this in a
> batch file and then call that file during the log in script it works ok
> ... any ideas?
> thanks
> ryan


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.