Jump to content

Accessing Networks with Passwords


Recommended Posts

Help needed pls..

how do we access network passwords with labview??

because when a network server has a password requiremnt, like these,

i cant use the FILE vi's like the LIST,NEW etc..

what do i need to do to pre-program the network access?

thanks!

netpass.jpg

You can use the NET USE command, using System Exec to execute the command line.

C:\WINDOWS\system32>net use /?

The syntax of this command is:

NET USE

[devicename | *][\\computername\sharename[\volume] [password | *]]

[/uSER:[domainname\]username]

[/uSER:[dotted domain name\]username]

[/uSER:[username@dotted domain name]

[/sMARTCARD]

[/sAVECRED]

[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.