Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TechnicalChris

    About Intercepting Shutdown of Windows...

    I need to do the same thing (run a exe on log off), i just created an application and subclassed it. when windows sent the WM_QUERYENDSESSION message to the my application i then inserted my extra code i wanted to run, and then continued to shutdown windows.
  2. TechnicalChris

    Cant find Domain Controller for one of our users

    This is by the way. New Computer Refresh install of NT4 User Account hasnt been tapered with. All other user accounts work fine.
  3. TechnicalChris

    Cant find Domain Controller for one of our users

    Hi all, i havent seen this problem first hand but one of our small subsidery networks is running a NT Server 4, and Workstation. The problem is that everyone can log into the workstation and do everything fine, but its just the 1 user that logs onto the workstation recieves a message that it...
  4. TechnicalChris

    Preventing from shutting down

    That is true, the WM_SYSCOMMAND should detect a WM_QUERYENDSESSION and if that value = true then maybe i can sendmessage to ExitWindows API to cancel. i guess the answer somewhere between these lines, i may have to do some more research on it, unless someone already knows how to capture the...
  5. TechnicalChris

    Preventing from shutting down

    Some good tools, heres an updated link . http://www.sysinternals.com/ntw2k/freeware/pstools.shtml some good additonal features from the NT resource kit, but none are any value to my shutdown suitation unfortunity. if WinNT had a log off script procedure like 2K, i would probably be out of the...
  6. TechnicalChris

    Preventing from shutting down

    Thanks ADoozer, unfortunity that api call only hooks into the registry shutdown process of the machine and doesnt see any other under layer shutdown calls. if it did your solution would have been perfect. The program we want the users to log out of is a bought product which uses a telnet...
  7. TechnicalChris

    Preventing from shutting down

    Thanks for the reply, I would say that would work but unfortunity, this isn't a custom made application. we do have time limits before a user automatically gets logged off in our application, but at the end of the day they forget to go through the correct log off procedure, and rather shut the...
  8. TechnicalChris

    Preventing from shutting down

    Hi, is it possible to detect if windows is shutting down or user is logging off the system, and if so, is there any API to cancel out the shutdown api from excuting? we are tring to prevent our users from shutting down the computer without logging out of there applications first. any idea's...

Part and Inventory Search

Back
Top