troubleshooting Question

Remote LOGOFF without using WMI

Avatar of jkaios
jkaiosFlag for Marshall Islands asked on
Visual Basic Classic
8 Comments1 Solution1490 ViewsLast Modified:
Hello Experts!

I was wondering if any of you happen to know an API function to log off a remote machine.  I DON'T want to use the Win32Shutdown WMI class method as I've already used it, which is really slow and mostly seem to fail on Windows XP machines when Firewall is turned on.

Please note that I already know about the following API's but they are still limited:

  ExitWindowsEx - supports the logoff method, but only on a local machine.
  InitiateSystemShutdown - works on remote machines, but only provides shutdown and restart.  It DOES NOT have a param or flag for LogOff.

Any help would be greatly appreciated.
ASKER CERTIFIED SOLUTION
jwarnken

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros