net use [{DeviceName | *}] [\\ComputerName\ShareName[\volume]] [{Password | *}]] [/user:[DomainName\]UserName] [/user:[DottedDomainName\]UserName] [/user: [UserName@DottedDomainName] [/savecred] [/smartcard] [{/delete | /persistent:{yes | no}}]
net use [DeviceName [/home[{Password | *}] [/delete:{yes | no}]]
net use [/persistent:{yes | no}]
Here are several examples I use a lot
To connect the user UserName as if the connection were made from the DomainName domain
net use \\ServerName /u:DomainName\UserName
Similar as the one above, but also assign (map) the disk-driver device name z: to the directory letters
net use z: \\ServerName\letters /u:DomainName\UserName
To restore the current connections at each logon, regardless of future changes (use it with extreme caution)
net use /persistent:yes
To disconnect from the \\Financial\Public directory and delete cached credential of the server Financial
net use f: \\Financial\Public /delete
To disconnect from all connected networks and delete all cached credential
net use * /d
Of course, log out the current the user is the easiest way to delete all cached credential of shared network. However, when you don’t the condition to perform a logout, net use * \d becomes handy!
The IPC$ share is used with temporary connections between clients and servers by using named pipes for communication among network programs. It is primarily used for to remotely administer network servers. I tried to use net use z: \\ServerName\$IPC /delete, but got error message – the solution from google search is “I have to logoff”! Any suggestion? Windows right-click trick did not work – I cannot find the “Stop sharing” item …

blog by cail
- » Buy Chinese Painting
- » a page for 99life, fdu
- » 2shRNA - design oligos for RNAi
- » PubMed-er - ease your paper reading in browser
- » Feed collection of leading biology journals
- » How to use ImageJ to analyze images?
- » Play background music
- » About CaiLog
New in 'How-To'
- pubmeder for Safari, and one more thing
- pubmeder user script for greasemonkey/firefox (also a compiled add-on for firefox)
- http://pubmeder.appspot.com/ open to public
- pubmeder for Google Chrome, first client support for pubmeder.appspot.com
- Use vUSBbus to backup and emulate Sentinel and HASP dongles (HASP3/HASP4/Hasp HL USB keys) #getkey
- Install Snow Leopard on EeePC 1000HA (for Google Contact Sync with photo)
- How to setup Exchange ActiveSync account on #htc #evo 4G (should work for other #android phone with HTC Sense)
Hot in 'How-To'
- analog – analog/digital – digital, VGA – DVI – HDMI - 26,700 views
- Ez-12 windsurfer antenna - 14,760 views
- How to add new ringtones to iPhone - 12,519 views
- Air Video, video stream and live convert your favorites to iPod Touch, iPhone and iPad (How to setup the server for Ubuntu and OpenSolaris) - 9,702 views
- mac osx 10.5.1 kalway on Lenovo Thinkpad T43 2668AJU - 8,470 views


Leave a Reply