tourajam
asked on
how can i use netuse fom my domain to other pc in workgroup
Dear Experts,
how can i use netuse fom my domain to other pc in workgroup
how can i use netuse fom my domain to other pc in workgroup
Hello tourajam,
*****Drives*****
These command can be executed from either command line, Batch File OR Login Scripts
This command maps a drive "Z:\" to a shared directory on a server called "Server1"
net use z: \\server1\sharename\
If you need permissions to use this network resource toy can also enter the username and password. (See Security Below)
net use z: \\server1\sharename\ /user:username password
The above commands will work until a user logs out or the machine is rebooted, to make the mapping permanent you need to use a "Persistent switch"
net use z: \\server1\sharename\ /user:username password /Y
Zero Administration Kit
http://www.microsoft.com/ntworkstation/downloads/Recommended/Featured/NTZAK.asp
How to Use Con2prt.exe to Connect to a Network Printer
http://support.microsoft.com/?kbid=181663
*****Security*****
If you do need to use username and password, this has obvious security implications, Consider using NSIS
http://nsis.sourceforge.net/site/Download.6.0.html
For instructions on its use see https://www.experts-exchange.com/questions/20710867/Mapping-a-Network-Drive-through-a-Script.html
Regards,
PeteLong
*****Drives*****
These command can be executed from either command line, Batch File OR Login Scripts
This command maps a drive "Z:\" to a shared directory on a server called "Server1"
net use z: \\server1\sharename\
If you need permissions to use this network resource toy can also enter the username and password. (See Security Below)
net use z: \\server1\sharename\ /user:username password
The above commands will work until a user logs out or the machine is rebooted, to make the mapping permanent you need to use a "Persistent switch"
net use z: \\server1\sharename\ /user:username password /Y
Zero Administration Kit
http://www.microsoft.com/ntworkstation/downloads/Recommended/Featured/NTZAK.asp
How to Use Con2prt.exe to Connect to a Network Printer
http://support.microsoft.com/?kbid=181663
*****Security*****
If you do need to use username and password, this has obvious security implications, Consider using NSIS
http://nsis.sourceforge.net/site/Download.6.0.html
For instructions on its use see https://www.experts-exchange.com/questions/20710867/Mapping-a-Network-Drive-through-a-Script.html
Regards,
PeteLong
ASKER
when i type this command :
net use * \\ComputerA\C$ /user:ComputerA\UserName [password]
i receive this error:
you cannot connect form your maschine
net use * \\ComputerA\C$ /user:ComputerA\UserName [password]
i receive this error:
you cannot connect form your maschine
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
we want connect to C$ << how we can do it ?
ASKER
i still cannot connect to my workgroup..........
same error : cannot connect to the machine ....
same error : cannot connect to the machine ....
What did my last suggestion reveal?
Ping ComputerName <Enter>
Now use that IP address to substitute the following:
net use \\111.22.33.44\ipc$ /user:111.22.33.44\UserNam e <Enter>
What are the results?
Ping ComputerName <Enter>
Now use that IP address to substitute the following:
net use \\111.22.33.44\ipc$ /user:111.22.33.44\UserNam
What are the results?
ASKER
Same Result
cannot connect to machine
cannot connect to machine
ASKER
this is ERROR :
System error 1240 arisen. With this account one cannot announce oneself from this computer.
System error 1240 arisen. With this account one cannot announce oneself from this computer.
ASKER
my computer have germany language : i translate it to english
here is the original error :
Systemfehler 1240 aufgetreten.
Mit diesem Konto kann man sich nicht von diesem Computer aus anmelden.
here is the original error :
Systemfehler 1240 aufgetreten.
Mit diesem Konto kann man sich nicht von diesem Computer aus anmelden.
you can ping that workgroup computer properly and chcek any personel firewall softwares installed on that system like norton internet security/zone alarm or mcaffe.
try with this :-
net use \\workgroupcomputer /user:administrator, (here administrator is workgroup computer local administrator),
Regards,
V.K.
try with this :-
net use \\workgroupcomputer /user:administrator, (here administrator is workgroup computer local administrator),
Regards,
V.K.
Does a ping respond?
Is File sharing turned on?
Is File sharing turned on?
ASKER
Yes its turned on already
What's turned on? File Sharing or the firewall?
ASKER
File Sharing is Turned on already !
...and the firewall (which can prevent this)...
net use * \\ComputerA\C$ /user:ComputerA\UserName [password]
~sirbounty