Is there any way that when a program starts it can pop up with user name and login information and log into a domain? Almost like a manual logon after the machine has started?:confused:
Printable View
Is there any way that when a program starts it can pop up with user name and login information and log into a domain? Almost like a manual logon after the machine has started?:confused:
Domain logins are provided at a lower level than your app is probably running so you shouldnt be messing with it...
Why would you need it anyway ?
Well Im using a VPN solution, when I dial directly in the log in works properly. If I use the internet to log in, when the machine boots up it doesnt find the domain server (obivously im not hooked up the the vpn yet as the machine is turned on) After it cant find the domain server, I login to the vpn software and my login doesnt work because it already tried and couldnt find a domain server. So I need to be able to login to a domain after the machine has started up.
Jduke
Well if you try to access a share on your PDC while you're not logged in it should ask you for a U/P ...
You would think that, but it doesn't. Once the VPN client is established it gies the user a private ip address. Once that happens, I can ping the server I need to get to by IP. But if I try to ping by name, it can't be found. So I try and map a network drive using the machines IP address and that doesn't work. It may be a netorking problem, but Ie set machines up like this the same way; some work,some don't. So I was trying to figure out if I could make it prompt the user for the name and password after the VPN client has been establisged.
I dont know a log about VPN, but if you're using DUN to accomplish this then there's an option under the TCP/IP settings for the DUN Connection, "Log into network". Try that.
If thats not applicable, then.... is the DNS service running on your PDC by any chance ?
Well on the DUN, it works perfectly. All the settings work, logs in, but thats because I'm connected directly to the machine.
So I know that all the settings for networking are correct, but thats because when you dial in, it prompts you for user name and password. If I could get that box to come up when I want it to, I could solve this problem. Hence the original question.
And yes, DNS is on the PDC
Hmmmm hows this :
http://www.planet-source-code.com/vb...t=Alphabetical
Hey thanks for the link, but they've blocked me off their site. We have a 10 mb line at work and its too fast for their servers so here's the error messgae I get :
Ouch you're hurting our servers!
You were hitting the site at rate faster than comprehensible by a human at 52 hits per minute for 23 minutes. This is causing our servers to crash and be unavailable to other users.
So if you wouldn't mind either pasting all the code or you can email it to me at [email protected]
Thanks!
Well im just leaving for the day now. Email me at [email protected] to remind me would ya ?
This also may be of intrest to you :
http://www.microsoft.com/technet/tre...g/vpndeply.asp
you may try using ...."Logon to Domin using DUN" at the ctrl+alt+del screen..and specify the connection which you want to use for DUN...
but if there is a firebox at the other end and you have to pass thro that..then...i have my doubts..
________________
VB leaves WEEPING....:confused: :eek: ;) :D :) :( :o :p :mad: :rolleyes: :cool: