Recent content by RUSHBOY


  1. Accounts Enable or Disable Password Expiration in Windows 11

    Thank you all I used to use a batch file to set this but now updated to use PowerShell. Below is the code I use to run PowerShell as admin and run the command & pause at end so I know I have ran the file 😀 Reference How to Self-Elevate a PowerShell Script # Self-elevate the script if...
  2. Accounts Enable or Disable Password Expiration in Windows 11

    Hi All So with clean install of Windows 11 24h2 - WMIC is now not installed/disabled Is the alternative code for "wmic UserAccount set PasswordExpires=False" Yes I can install WMIC with - "DISM /Online /Add-Capability /CapabilityName:WMIC~~~~" but it takes about 5 minutes even on decent...
Back
Top Bottom