Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 105571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:27:37+00:00 2026-05-11T01:27:37+00:00

My goal is logout current session, then delete the running local user profile. And

  • 0

My goal is logout current session, then delete the running local user profile. And I have a service to delete the profile already.

My problem is, the user has no idea about the background service and who may power off the machine or login again too soon.

The idea is that the service will show some popup, and it will not display ‘Welcome to Windows’ until background job finish.

I have read some tricks to run GUI application without login, but I cannot find how to it.

How can it be done on Windows XP and Vista?

Another idea came from my boss is that ‘Shutdown and install windows update’, but execute our apps rather then patch installer. How to install my application hooks at that point?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:27:37+00:00Added an answer on May 11, 2026 at 1:27 am

    I think that if you are running on a system other than Vista, you will want to replace the GINA dll. This will give you the proper hooks into the login process to perform your work.

    In Vista, you simply won’t be able to do this, as GINA was replaced with credential providers, which are not queried when the user logs out.

    Also, I see nothing mentioned in your question about what to do if someone logs on the machine through Terminal Services, or through another call to LogonUser. Deleting the profile when the user logs off is a bad idea, because they might be logged on more than once, so you have to account for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Goal: I have a thumbnail as a byte array in memory. Once a user
Goal: Don't want the user to make changes in the program's size. Problem: Don't
Goal: Display customized information based on end user's position. If you have 2 user:
Goal: Once i click on the start button on my user interface, i currently
Goal: Gain datatype date with year and month Problem: Need to help to convert
Goal: take results from recognizer stating a name in contacts, then dial their #.
Goal: User only selects one , only one option at a given time for
Goal, is to extract the content for the CKEDITOR Text Editor, and then only
Goal: Allow user to select one or more images from his photo library. Get
GOAL: Declare/set variables in the scope of the function that called the running function.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.