JackR

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Automatic Password Enforcement and Expiration Change #48519

    Well for the time being, I found a workaround for my problem. After some research, I was able to change the settings during the install by inserting a command file in the WindowsSetupScripts folder in the wim. The file itself is labeled ‘SetupComplete.cmd’. I inserted the line: net accounts /maxpwage:unlimited. Alas I was unable to find out how to disable enforcement, but I can live with this. 🙂

    Furthermore, I was also able to set some features to be installed automatically as well from the script. I used:

    ServerManagerCmd.exe -install feature feature feature -allsubfeatures
    shutdown -r

    Where each feature is replaced with the feature name. And the shutdown to force a restart after the desktop is reached (to install the features). It may not be the fastest way possible, but it does the job ;P.

Viewing 1 post (of 1 total)