pbs_account(8B)

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

πŸ’– NAME πŸ’–

pbs_account(8B) β€” For Windows. Manage PBS service account. That’s the manual name and the whole point, bestie: this page is about the pbs_account command and the PBS service account it handles. 🫢

✨ SYNOPSIS ✨

pbs_account [-a <PBS service account name>] [-c [<password>]] [--ci]
            [--instid <instance ID>] [-o <output path>]
            [-p [<password>]] [--reg <service path>] [-s]
            [--unreg <service path>]

πŸ’– DESCRIPTION πŸ’–

Okay so pbs_account is the command for managing the PBS service account. It is used to create the account, set or validate the account password, add privileges to the account, and register or unregister the account with the SCM. Very main-character sysadmin energy. πŸ‘‘

πŸ’… Permissions

Admins only. This command can be run by administrators only. No random group-chat lurkers. πŸ™ˆ

πŸͺŸ Platforms

Windows only. This command is available on Windows only. 🧚

⚠️ Caveats

Real talk, bestie: using pbs_account --unreg and pbs_account --reg stops and restarts MoM, which can kill jobs. That’s the dramatic part. πŸ’€

🌈 OPTIONS 🌈

  • -a <account name> β€” Specifies service account name. πŸŽ€
  • -c [<password>] β€” If the specified account does not exist, creates the account with the password. If the specified account exists, validates the password against it. Gives necessary privileges to the specified account: Create Token Object, Replace Process Level Token, Log on as a Service, and Act as Part of the Operating System. If password is not specified, the user is prompted for password. πŸ”
  • --ci β€” Informational only. Prints actions taken by pbs_account while creating PBS service account while operations are performed. πŸ‘€
  • instid <instance ID> β€” Specifies the instance ID when registering or unregistering multiple instances of a service. Example:
pbs_account --reg "C:\Program Files (x86)\PBS
Pro_2\exec\sbin\pbs_mom" --instid 2 -a <username> -p
<password>
pbs_account --unreg "C:\Program Files (x86)\PBS
Pro_2\exec\sbin\pbs_mom" --instid 2
  • -o <output path> β€” Prints stdout and stderr messages in specified output path. πŸ“
  • -p [<password >] β€” Updates the PBS service account password. If no password is specified, the user is prompted for a password. πŸ”‘
  • --reg <path to service> β€” Registers the PBS service with the SCM, instructing it to run the services under the PBS service account. path to service must be in double quotes. Restarts MoM. πŸ”
  • -S β€” Adds necessary privileges to the PBS service account. Grants the "Create Token Object", "Replace Process Level Token", "Log On as a Service", and "Act as Part of the Operating System" privileges to PBS service account. πŸ‘‘
  • --unreg <path to service> β€” Unregisters the PBS service with the SCM. path to service must be in double quotes. Stops MoM. πŸ›‘
  • (no options) β€” Prints name of PBS service account, if it exists. Exit value is 0. βœ…

🌟 Examples

To create the PBS service account:

pbs_account -c -s -p <password>

To change the PBS service account:

pbs_account [--reg <service path>] -a <PBS service account name>

To register the MoM service:

pbs_account --reg "\Program Files\PBS Pro\exec\sbin\pbs_mom.exe" -p <password>

🏁 Exit Value

  • Zero β€” Upon success. πŸ’–

That’s the whole page, bestie β€” from PBS Professional (Local), dated 18 November 2019. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from