cancel
Showing results for 
Search instead for 
Did you mean: 

network connect startup scripts

Highlighted
Contributor

network connect startup scripts

I'd like to map a department drive and if possible a user drive over Network Connect. If found several threads but no answers.

In testing I got NC to kick off a .bat file on my c:\ that uses a net use command but it prompts for username and password.

Is there a way to do this so the user doesn't have to pass creds?

I'm using NPS/RADIUS for authentication and authorization.

Also looking at my policy trace variables I see domain\userid listed for both <user> and <username>. I thought <user> gave domain\userid and <username> gave just userid

have a complicated multiple forest/domain setup so I can't use AD or LDAP.

Thanks for any info.

4 REPLIES 4
Highlighted
Contributor

Re: network connect startup scripts

I know it's a much talked about subject but I've not found any answers.

Anyone have any tips or examples?

Thanks for the time.

Highlighted
Super Contributor

Re: network connect startup scripts

Are your users' machines members of the domain? The script that get executed is run in the context of the currently logged in user (windows user which may or may not be the user that authenticated to NPS)

Highlighted
Contributor

Re: network connect startup scripts

Thanks for the reply. Some are but not all.

Highlighted
Respected Contributor

Re: network connect startup scripts

The IVE login variables are not available to the script.

If the script AND the script location do not require specific credentials for access, then this should work. If either is false, for example a specific username is needed for the script to run for the drives, it will not work; if the script is on an AD-protected server and users must authenticate for acces, this will not work if they are using non-domain PCs on non-cached credentials