how to prevent the built-in administrator to change its password?

Page 1 of 2 12 LastLast

  1. Posts : 18
    Windows 10
       #1

    how to prevent the built-in administrator to change its password?


    Hi all,
    I need to disable the password change for the built in administrator user.

    I tried from command line:

    net user "administrator" /Passwordchg:no

    but the system gets me a notification I can't do it for this kind of user

    is there a workaround (command line or registry) to do it?

    thanks

    Note: I should have to do it only for the built in admin (not for all the users) to prevent unintentional damages from users...
      My Computer


  2. Posts : 1,728
    Windows 10 Pro x64 22H2
       #2

    Hello, press start button, type Computer management and run as Administrator
    expand node "Local users and groups", double click on Administrator and check "User cannot change password"

    how to prevent the built-in administrator to change its password?-untitled.png
      My Computer


  3. Posts : 17,083
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #3

    mfran2002 said:
    Note: I should have to do it only for the built in admin (not for all the users) to prevent unintentional damages from users...
    Standard user accounts cannot change Admin user account passwords anyway so you do not have to bother doing anything to protect it, just leave it in its original condition and disabled.
    Change account password - TenForumsTutorials

    Denis
      My Computer


  4. Posts : 18
    Windows 10
    Thread Starter
       #4

    hi both and thanks

    @Try3: unfortunately I can't disable since it is used by some IT colleague of mine
    It happened that one (skilled) user changed that pwd without inform anyone and then forgot the pwd...
    I use another (not built in) admin for IT purposes (only mine)

    @zebal: I can't flag that checkbox: when I try (from GUI or command line) I get a notification I can't do it for built in admin

    then I thought something to change into the registry: is it possible?

    thanks
      My Computer


  5. Posts : 1,728
    Windows 10 Pro x64 22H2
       #5

    If there are other administrators (you said some IT colleague) in addition to you, then only you 2 can change the password.
    This means you 2 need to set password for the builtin admin and not share it with anyone.

    To set new password enable built in admin, uncheck "password never expires" and check "user must change password at next login".

    Any other users that are administrators can do what ever they want, if you want to prevent this make sure they are not admin.
      My Computer


  6. Posts : 18
    Windows 10
    Thread Starter
       #6

    some user has to be admin, with some restrictions
    one of them made the issue

    is there some way to reach my aim via registry?
      My Computer


  7. Posts : 1,728
    Windows 10 Pro x64 22H2
       #7

    Admin does not have any restrictions.
    If the problematic admin is causing trouble you can't stop them except to limit their account privilege.

    there is no registry hack to limit what admin can do, because they may edit the registry as well reverting your settings.
    You either trust your administrators or you don't.
      My Computer


  8. Posts : 17,083
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #8

    mfran2002 said:
    unfortunately I can't disable since it is used by some IT colleague of mine
    1 Then tell them to stop using it for any purpose other than that for which it was created.
    That purpose is [only] to be enabled automatically by Windows at the Safe mode login screen if Windows detects that there are no other functioning Admin accounts on the computer.


    mfran2002 said:
    It happened that one (skilled) user changed that pwd without inform anyone and then forgot the pwd...
    2 Make your other users Standard ones not Admin ones. You cannot stop an Admin user changing passwords. Only you and, at your discretion, a small number of trustworthy others should be Admins.
    3 Remove the password as shown in the tutorial.
    4 Disable it.

    Best of luck,
    Denis
      My Computer


  9. Posts : 18
    Windows 10
    Thread Starter
       #9

    thank you all for your suggestions

    in the end, is there a way to disable the password change for the built in administrator user, via command line or registry?

    thanks
      My Computer


  10. Posts : 17,083
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #10

    mfran2002 said:
    in the end, is there a way to disable the password change for the built in administrator user, via command line or registry?
    Try3 said:
    You cannot stop an Admin user changing passwords.
    Denis
      My Computer


 

  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 01:35.
Find Us




Windows 10 Forums