[wue] set password not to expire when creating a local account

* Looks like using the 'net user USERNAME /logonpasswordchg:yes" might have the side effect
  of setting the main user account to expire after a few months. So to alleviate that, we'll
  just set the system policy to use passwords that never expire.
* Also clean up the PE parsing code and fix 2 Coverity warnings.
* Also fix typos, misprints and ditch the UNRELIABLE timestamp.acs.microsoft.com server.
This commit is contained in:
Pete Batard 2024-10-05 11:03:42 +01:00
parent 15c28434c0
commit 3e840a94ce
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
11 changed files with 49 additions and 36 deletions

View file

@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Commandline hogger, C version
* Copyright © 2014 Pete Batard <pete@akeo.ie>
* Copyright © 2014 Pete Batard <pete@akeo.ie>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by