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

  • SEARCH
  • Home
  • 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 7029415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:32:10+00:00 2026-05-28T00:32:10+00:00

I have a Screensaver written in .NET / C# that is dependent on a

  • 0

I have a Screensaver written in .NET / C# that is dependent on a background process running. While the background process is added to the user’s startup programs on install, it would still be nice to not require the user to reboot their machine after installing the screensaver. The process itself has to run under the current user’s credentials, so using a Windows Service for this is out of the question.

The best solution I’ve thought of for this is to detect whether the background process is running when the screen saver starts, and start it if it’s not, just using .NET’s Process class. However, I’m noticing two somewhat related issues with doing this:

1) Windows seems to always think that the screensaver is running while the screensaver process, or any child process created by the screensaver, is still running. The net result of this is that the screensaver will start on its own and spawn the process, but will never start again, because Windows thinks the first screensaver is still active because the background process is still running.

2) If the computer is set up to lock the computer when the screensaver pops up, the user will be left with a blank screen after exiting the screensaver and has to explicitly ctrl+alt+delete to log in. This happens because the background process is running under WinLogon’s desktop and once again, Windows is waiting for the screensaver to exit.

Is there any way around this? The best thing I can think of is find some way to force the background process to run as a child of explorer.exe instead of the screensaver itself, but I’m not sure what the best way to go about doing that would be, or if it’s even possible. I’ve tried p/invoking the Win32 API’s CreateProcess method as well with various parameters to no success as well.

  • 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. Editorial Team
    Editorial Team
    2026-05-28T00:32:11+00:00Added an answer on May 28, 2026 at 12:32 am

    As a simple workaround, you could tie the running of the background process to the running of the screensaver – if the screensaver needs to start the supporting process, make it responsible for shutting down that process as well. You’d then have something that works, albeit with reduced functionality, prior to the first reboot.

    Alternatively, as a more complex solution, given it’s possible for one process to start another with different credentials you should be able create a windows service that’s responsible for launching the background process with appropriate credentials, kind of a watchdog service that makes sure the actual background process is running.

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

Sidebar

Related Questions

I have a simple screensaver that I've written, which has been deployed to all
I have a .Net service that uses SENS to detect when a user logs
Background information: I presently have a hardware device that connects to the USB port.
Does anyone have any suggestions for how to create a screensaver that can cycle
Background: I have a JScript that runs when the computer starts up (from task
I have a C#/TCP/Winform app that's been running for quite some time, but one
I have a Mac app that can double as a screensaver (a minor functionality,
Does anyone have a link or document on how to write a screensaver for
I have been asked to standardize the screen saver and desktop background used by
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a

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.