win_postinstall.py(8B)

πŸ“¦ version 23.06.06-unstable-2026-04, in nixos 26.05, nixpkgs unstable

πŸ’… win_postinstall.py β€” it's giving "Windows setup bestie" ✨

okay so real talk, this is a page from the PBS Professional manual, section 8B, and it's about win_postinstall.py. Windows only, no cap. Let's get into it πŸŽ€


✨ NAME ✨

win_postinstall.py β€” for Windows, bb. It configures your PBS MoM or client. That's the whole vibe.


🌸 SYNOPSIS 🌸

<PBS_EXEC>\etc\python win_postinstall.py -u <PBS service account>
        -p <PBS service account password> -t <installation type>
        -s <server name> [-c <path to scp command>]

Like, that's the shape of it. Copy it exactly, don't freestyle πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So win_postinstall.py is the little script that configures the PBS MoM and the commands. It handles the post-installation steps for you β€” the unglamorous but iconic stuff, namely:

  • validating the PBS service account username and password πŸ”
  • installing the Visual C++ redistributable binary πŸ“¦
  • creating the pbs.conf file in the PBS destination folder πŸ“

If you're doing an "execution" type of installation, it also creates PBS_HOME, then registers and starts the PBS_MOM service. main character energy fr fr πŸ‘‘

Heads up bestie: when you use this command during an "execution" type installation of PBS, it automatically un-registers any old PBS MoM. No manual cleanup needed, it just handles it πŸ™ˆ

Available on Windows only. Literally do not try this anywhere else 🌈


πŸ”₯ Required Privilege πŸ”₯

You gotta have Administrator privilege to run this command. Like, actual admin. Not "I know a guy" energy. ⭐


πŸ’œ Options to win_postinstall.py πŸ’œ

  • -c, --scp-path <path to scp command> β€” tells it where your scp command lives. That's it, that's the whole thing 🫢
  • -p, --passwd <PBS service account password> β€” the password for the PBS service account. Keep it cute, keep it secret 🀫
  • -s, --server <server name> β€” the hostname where the PBS server will run. Required when your installation type is either "execution" or "client", so don't skip it πŸ’€
  • -t, --type <installation type> β€” what kind of install this is. Type can be one of "execution" or "client" 🌸
  • -u, --user <PBS service account> β€” the PBS service account. And listen, this part matters: when you specify the PBS service account β€” whether or not you're on a domain machine β€” include only the username, not the domain. So like, if the full username on a domain machine is <domain> \ <username>, you pass only <username> as the argument. Don't bring the domain to the party, it's not invited πŸŽ€

lowkey the most important bit: domain? leave it at home. username only. iykyk ✨

and that's the whole page bestie, you ate that πŸ“

sign-off szn: this one's from the Local corner of the manual, dated 20 November 2019, and yeah β€” it's win_postinstall.py(8B) all the way down. mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from