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
    29
    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. xploitmachine

    xploitmachine MDL Member

    Sep 15, 2023
    186
    103
    10
    Goto RUN -> type LUSRMGR.MSC

    upload_2024-1-16_17-35-13.png
     
  3. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,161
    5,975
    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...
  4. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    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
     
  5. ABM

    ABM MDL Junior Member

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

    Alan
     
  6. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    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.
     
  7. pm67310

    pm67310 MDL Guru

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

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    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.
     
  9. ABM

    ABM MDL Junior Member

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