Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / Microsoft / Hiding User Accounts on Windows 7

Hiding User Accounts on Windows 7

April 1, 2010 by Rob Bazinet 1 Comment

Tweet

I recently needed to create a local user account for a project which involved using the Microsoft Great Plains Dynamics eConnect product.  eConnect product uses some COM+ components and needs to have a user account during installation to properly setup the components.  I decided the simple thing to do was to create a user named econnect just for this purpose.

The Problem

You can see when I go to User Accounts the new account shows up.  I expect the account to show up here :

ManageUsersBefore

Everything works just fine but can be a bit of an annoyance when booting up and logging into Windows 7 where I have the option of logging into my regular account or my new econnect user account.  I don?t want this behavior, I just want to be shown my normal enter password textbox as I am familiar.  Since this is a service account and no on will ever log in to it, I don?t want the option of seeing it.

It turns out there is some registry hacking that one can do to provide a list of users you want to hide from the system.  Be warned that you could possibly add your own account to the list and be locked out of Windows 7 completely.

Hiding a User Account

The process is actually pretty simple, you need to fire up regedit to get started.  Once regedit is running traverse to:

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\

Once you have found the path in regedit the steps are pretty simple:

  1. Create a new key named SpecialAccounts.  Find the Winlogon key, right-click with the mouse and select New->Key and name it SpecialAccounts.
  2. Next you want to select the SpecialAccounts key you just created, right-click with the mouse and select New->Key and name it UserList.
  3. Finally, select the key just created which is named UserList, right-click and select New->DWORD Value or New->DWORD (32-bit) Value on 64-bit systems and name the value the name of the user you want to hide.  In my case, econnect is the user I am trying to hide.  The value should be 0 to hide the user or 1 to not hide user.

It should look something like this:

RegeditUserList

You can repeat step 3 above for each user to hide.

And that?s all there is too it.  If done correctly, the user will not show up on a logon screen or even when managing user accounts.

Technorati Tags: Windows 7,Microsoft,eConnect

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: Microsoft

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Recent Posts

  • Social Media Times Are Changing
  • It has certainly been a long time…
  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Great little utility https://t.co/6AgboJv6oI
    about 21 hours ago
  • Funny watching the hate to show up in my time line for ChatGPT. People getting defensive about it.
    about 4 days ago
  • I just backed The SaaS Playbook, by Rob Walling on @Kickstarter https://t.co/1FpTWN9c9v
    about 4 days ago
  • This looks like an interesting project. I need to dig in a bit. https://t.co/gacEX9AmEn "Phlex — fast, object-orie… https://t.co/4AUL0Z0SBl
    about 5 days ago
  • I attempted to use ChatGPT today and asked a couple questions it couldn’t answer. I thought it was a magical black… https://t.co/uJGw0CgUAv
    about 5 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon