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 6621919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:20:07+00:00 2026-05-25T21:20:07+00:00

I am writing a small program using C# that needs to set set the

  • 0

I am writing a small program using C# that needs to set set the power settings for all users. This means I will need to change the Hkey Current User, and all the profiles under the Hkey Users hive. I know how to change the power settings registry keys, but I do not know how to “cycle” through all the users “profiles” (for lack of a better word) and make this change under their settings. How do I do this, or is there a better way to do this. I apologize if the scenario is not clear.

Thanks
msindle

  • 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-25T21:20:08+00:00Added an answer on May 25, 2026 at 9:20 pm

    There is no general way to edit other users’ Registry settings directly. Other users’ Registry settings might not even be stored on your computer. For a taste of some of the problems, read Raymond Chen’s blog post, “Beware of roaming user profiles“. (Make sure you understand what he has to say — some of it applies even if you’re writing an internal tool on a network that doesn’t have roaming profiles enabled.)

    The best solution would probably be to make a small app that makes this change for the current user, and add it to everyone’s login script. That would mean your utility would change the setting every time they log in, rather than making a one-time change (so they wouldn’t be able to change it back permanently), but you would be sure it happened for every user.

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

Sidebar

Related Questions

I'm writing a program using jdbc that will be an interface to database(smth like
I'm pretty new to C# and Visual Studio. I'm writing a small program that
I'm writing a small tool in C# which will need to send and receive
I'm writing a program which will need to do a very large number of
I'm writing a small program in C# that uses SQL to store values into
I'm writing a program using Java non-blocking socket and TCP. I understand that TCP
I'm writing a small .NET program on Windows 7. One thing it needs to
I am writing a c program for a class that is a small shell.
I am making a small program using C++/CLI that use TcpListener , I know
I'm writing a program that needs to take input from an XBox 360 controller.

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.