Mapping network driver

G

Guest

Hi,
I am using minlogon with a custom application as the shell.
and the device must mapping network drive.
I use the "net command" command to map the drive .
for example:
net use U: \\ 192.168.0.1\share password /user:usename
and it's failed.
how can i do?
 
G

Guest

Have you got the "File Sharing" componet and "TCP/IP Networking with Client
For MS Networks" macro in your image? What is the fail message?

Rob
 
G

Guest

I have added the
File Sharing componet
TCP/IP Networking with Client For MS Networks
the problem is : if i type "net use U: \\192.168.0.1\c$ /user:username"
it's tell me to enter the password, and when I type the password ,net use
command successed.
if i type "net use U:\\192.168.0.1\c$ password
/user:username"
it's failed.and note" a specified logon session does not exist .it may
already have been terminated"
When I use the WinLogon mode the "net use U: \\192.168.0.1\c$ password
/user:username" will succeed
------------------------------------------------------------------------------------------------
 
G

Guest

I got another problem:
I writed command in a bat file as driverset.bat:
------------------------------------------------------------------------------------
net use U: \\192.168.0.1\c$ password /user:computername\username
net user V: \\192.168.0.1\d$ password /user:computername\username
exit
--------------------------------------------------------------------------------------
if I run this bat file in cmd.exe it execute succeed;
if I add "C:\windows\system32\driverset.bat "in the register :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
I hope when computer start ,it's auto add the network driver,but it
execute failed and give me no information.
what can I do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top