Is there a limit to numbers of Windows accounts?

Page 1 of 2 12 LastLast

  1. Muz
    Posts : 25
    Windows 10
       #1

    Is there a limit to numbers of Windows accounts?


    Is there a limit to numbers of Windows accounts?

    Is there a limit to numbers of Windows accounts?-clipboard.jpgIs there a limit to numbers of Windows accounts?-clipboard-2.jpg
      My Computer


  2. Posts : 1,656
    Windows 10 Pro x64
       #2

    2048
      My Computers


  3. Muz
    Posts : 25
    Windows 10
    Thread Starter
       #3

    How do you know it is 2048?
      My Computer


  4. Posts : 31,651
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    Muz said:
    How do you know it is 2048?
    I think that was a joke, as the Smiley indicated. The theoretical limit is probably a bit higher than that....

    I believe the theorical limit would be the number of SID values available in the local SAM Account database, which is 2^30 - 1, or 1,073,741,823. This would be the maximum number of objects (of all classes) that can ever be created. Of course the first object you create is number 1000. All lower values are reserved for built-in objects. Practical limits would be much less.
    https://social.technet.microsoft.com...m=winservergen

    ..but however many local accounts you create, there is a hard limit of 20 concurrent connections to a Windows 10 PC. If you need more than 20 users to simultaneously connect to a share then you need to pay for a Server edition of Windows.

    How many concurrent connections file shared in Windows 10 Home support
      My Computers


  5. Posts : 1,656
    Windows 10 Pro x64
       #5

    Muz said:
    How do you know it is 2048?
    It’s twice 1024, and half of 4096
      My Computers


  6. Posts : 1,255
    Windows 10 Pro
       #6

    I doubt there is a defined limit. In the real world the limit would depend on resource usage, primarily registry and disk usage. When an account is first created it is just entries in the registry. The size of each account can vary widely and the registry cannot grow without limit. But when you first log in with the account the user profile is created and that requires disk space. This too will vary widely. But accounts are created to be used. The disk space consumed by an active user account varies widely.
      My Computer


  7. Posts : 14,019
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #7

    2048 because it's evenly divisible by multiples of 4, 8, 16, 32, etc.
      My Computers


  8. Muz
    Posts : 25
    Windows 10
    Thread Starter
       #8

    2048? Is it proven that only 2048 accounts can be created?
      My Computer


  9. Posts : 1,255
    Windows 10 Pro
       #9

    Muz said:
    2048? Is it proven that only 2048 accounts can be created?
    This was answered in post #4. It was meant as a joke and not meant to be taken seriously.

    I am sure there is some theoretical limit to the number of accounts in Windows 10. But it doesn't matter what it is because the number is unreachable. There are many such limits in Windows and other operating systems. It was never intended to impose a limit but because of the way things are done the limit exists. But due to practical considerations the limit is unreachable.

    In any event 2048 accounts on a local computer is ridiculous. Of course a domain controller running Active Directory in a large corporate network can have far more, and many do. But this is very different from Windows 10 or any other client OS.
      My Computer


  10. Posts : 31,651
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #10

    Muz said:
    2048? Is it proven that only 2048 accounts can be created?
    Well, there's nothing like a practical experiment. I've set up a VM with a batch file to create accounts and increment a counter. So far it has created over 9,000 accounts (and is still running)...

    Is there a limit to numbers of Windows accounts?-image.png

    Edit: now 12,000 new accounts, and counting....

    2nd edit: at 16,266 accounts created the script ran into a brick wall and stopped. I restarted the script and it made a few more accounts, but very slowly. On restarting I longer get a user name or password prompt on the sign in screen, not even in Safe Mode. I think I've broken the system. Good job it's just a VM.
    Last edited by Bree; 18 Mar 2020 at 14:00.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:06.
Find Us




Windows 10 Forums