Jump to content

KeithAbbott

Members
  • Posts

    4
  • Joined

  • Last visited

KeithAbbott's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Putting it in the startup folder would only execute upon initial log in for a given user. When a switch user event occurs (i.e. switching from UserA to UserB, when both users have previously established sessions), the entries in the startup folder are not re-executed. I need to be able to trigger an event any time a login or switch user happens.
  2. Any suggestions on how to detect when the user has switched (e.g from UserA to UserB) so that the code can then change to the appropriate nameserver? Maybe this would need to be run as a service...
  3. I'm looking for a way to set the DNS server on a Win7 workstation by user. So I would like the DSN server for userA to point to 1.1.1.1, and the DNS server for userB to point to 2.2.2.2. I would like it to automatically switch to the corresponding DNS server everytime the Windows "switch user" functionality is invoked. I would like this to happen as seamlessly as possible in the background. Any help/suggestions?
  4. If I stop a service using the _Service_Stop function, does the function wait to return control until the service has stopped, or does it return control while the service is in the process of stopping? Same question for _Service_Start, does the function wait to return control until the service has started, or does it return control while the service is in the process of starting?
×
×
  • Create New...