Remove the Password option from windows 11

Discussion in 'Windows 11' started by ABM, Jan 16, 2024.

  1. ABM

    ABM MDL Junior Member

    Mar 16, 2010
    97
    30
    0
    Windows 11 tells me my password is going to expire. Needs to be changed...I am the only user and would like to stop/bypass this stupid requirement...I would prefer np password at all...Any solutions to this?
     
  2. maur0

    maur0 MDL Senior Member

    Aug 3, 2012
    420
    207
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. xploitmachine

    xploitmachine MDL Member

    Sep 15, 2023
    214
    120
    10
    Goto RUN -> type LUSRMGR.MSC

    upload_2024-1-16_17-35-13.png
     
  4. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,615
    6,798
    150
    Code:
    # Using Console
    wmic path win32_UserAccount set PasswordExpires=false
    
    # Using PS / Terminal
    gwmi win32_UserAccount|swmi -Ar @{PasswordExpires = $false}
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,950
    150
    @maur0

    Method 1 for autologon should be discouraged, the password is saved in clear form, and it doesn't work on some scenarios.

    use autologon exe from sysinternals (now from MS), instead
     
  6. ABM

    ABM MDL Junior Member

    Mar 16, 2010
    97
    30
    0
    Wow, You all are great for the information ...Thank you all for helping me

    Alan
     
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,950
    150
    It's a gui for the stock windows functionality, so what I wrote above is still applicable. Don't use it for autologon. Use autologon.exe instead.

    P.S. Time to get rid of the bogus defaultuser0 (and its profile folder), also better to hide the personal information from the screenshot.
     
  8. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,634
    2,871
    120
    after reboot defaultuser0 are removed fyi
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,950
    150
    FYI
    #1 just open your eyes and you will see the the defaultuser0 is in the list, just like I did

    #2 As #1 proves this not always happen especially in 1607.

    Not the end of the world, but some 70MB wasted, and a hypothetical unwanted additional attack surface.
     
  10. ABM

    ABM MDL Junior Member

    Mar 16, 2010
    97
    30
    0
    Quick User Manager worked just fine!! Thank You All!!