Setting Up Parsec To Allow Windows Log On And User Profile Switching

This allows Parsec to start with Windows, before log on of a Windows user profile.  This means you can leave your Windows account locked when not in use, or sign out of your Windows account when you are finished using Parsec.  This also means you can switch to a secondary Windows user profile on the same machine.  On Windows Server, it means you do not need to set the server to automatically log in.

  1. Download and extract this archive
  2. Copy items from the /Application directory to a location on C:\ drive that is accessible by all local computer users (do not copy to network location accessible by multiple computers such as network drive). An example would be C:\ParsecTeams\
  3. Run parsecd.exe in the folder you copied items to, and log into Parsec.
  4. Once you have signed in a user.bin file will be generated in the same folder as parsecd.exe, this is the Parsec authentication file.
  5. Open Task Scheduler on the Windows host
    1. Create new task
    2. Set task to "Run whether user is logged on or not".
    3. Click "Change User or Group" - In the input box, enter "SYSTEM" and click "Check Names" and click OK - The user should be "NT AUTHORITY\SYSTEM".
    4. In the general tab, check "Run with highest privileges".
    5. In the triggers tab, create a new trigger.
    6. The trigger should be "At startup".
    7. In the actions tab, create a new action.
    8. The action should be "Start a New Program" and the program should be the location of the extracted parsecd.exe executable located in C:\ Drive.
    9. In the "Start in (Optional)" field, enter the folder where parsecd.exe sits.  (For example if parsecd.exe is located in C:\ParsecTeams\parsecd.exe, add C:\ParsecTeams to the "Start in" field.
    10. In the conditions tab, check "Start only if the following network connection is available: Any connection".
    11. In the conditions tab, uncheck "Start the task only if the computer is on AC power".
  6. Create a new Service
    1. Modify the following script and replace [ENTER PATH TO PSERVICE HERE IN QUOTES] with the path to the pservice executable.  Example:  BinaryPathName = "C:\ParsecTeams\pservice.exe." -k netsvcs"
      $Params = @{

      Name = "Parsec"

      BinaryPathName = [ENTER PATH TO PSERVICE HERE IN QUOTES] -k netsvcs"

      DisplayName = "Parsec"

      StartupType = "Automatic"

      Description = "The Parsec Service helps with accessing the Windows lock screen, and administrator apps."


      New-Service @Params
      Start-Service Parsec
  7. In the folder that Parsec is installed to in C:\ Drive, click File -> Powershell -> Open Powershell as Administrator
  8. Paste your modified code into Powershell, and press enter.
  9. Once the task and service have been created with the following properties, you will be able to connect to their Parsec host at system start up and use your Windows credentials to log in, as well as switch Windows user profile.