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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:48:25+00:00 2026-06-03T08:48:25+00:00

I need to hide a user account name from Switch User screen on Windows.

  • 0

I need to hide a user account name from “Switch User” screen on Windows. For that I need to add that user’s name into
Local Computer Policy / Computer configuration / Windows Settings / Security Settings / Local Policies / User Rights Assignment / “Deny log on locally”.

I need to do that programmatically.

Do you know how to do that in .NET C#?

Any link or any hint might be helpful…

Thanks.

  • 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-06-03T08:48:27+00:00Added an answer on June 3, 2026 at 8:48 am

    You need to write information in registry

    at first read this Configuring User Rights (you can find the same for other OS)

    at second read this Read-write-and-delete-from-registry

    EDIT

    For Win7 and Vista Win7 and Vista

    EDIT2

    Go to “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon” and create a new key called “SpecialAccounts”. Create a subkey of “SpecialAccounts” called “UserList”. In the “UserList” key, create a DWORD value with the name of the account you want to hide, and leave the value of that DWORD set to 0. Do this for every account you want to hide.

    all of this you can do with second link

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

Sidebar

Related Questions

I need to hide a Windows form from the taskbar but I can't use
I need to hide a link to the user so that he can't click
I'm writing an application that needs to create a special user account hidden from
I need to hide the softkeypad in android when user click on anywhere other
I need to hide phone numbers and other contact details in user generated content
i need to hide a windows program (not visible in taskbar, system tray. visible
I need to hide div 'email' content if the div 'name' is empty. I
I need to hide a div that has a certain string in it, using
I need to hide/show parts of a table that is dynamically built, as shown
My problem is this: I need to select values from groups table that do

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.