The environment is a pc that has joined a domain, but has been disconnected from the domain's network and put on an external network. However since the domain login is cached then you can still log into the domain.

I want to know if it's possible to do something like the following.

  1. Query a WCF service to see if any new accounts need to be created
  2. If so, dial a VPN to the domain's network from the (.NET) application.
  3. Create the account from the application.
  4. Log out of windows
  5. Log into windows using the newly created account
link|improve this question
have you attempted a google search for this on your own ? try this for starters social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/… – DJ KRAZE Dec 16 '11 at 17:59
Ok I have figured out how to dial a VPN using DotRas. Please see my edited question now. – gibbocool Dec 28 '11 at 14:12
feedback

migrated from security.stackexchange.com Jan 19 at 22:20

This question came from our site for IT security professionals.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown