Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paths and directories not found for Windows Server on Google Cloud #12

Closed
AndrewManHayChiu opened this issue Jan 13, 2020 · 4 comments
Closed

Comments

@AndrewManHayChiu
Copy link

I expected to be able to open the Parsec application after running the script in the README, but parsec does not seem to be installed/moved.

I tried running the script, but encountered the following error messages after running the script in PowerShell:

Installing Parsec
Downloading and Installing 7Zip
Moving files to the correct location
Move-Item : Cannot find path 'C:\ParsecTemp\Apps\Parsec-Windows\$APPDATA\Parsec' because it does not exist.
At C:\Users\[username]\Desktop\parsectemp\PostInstall\PostInstall.ps1:442 char:73
+ ... e) {} Else {Move-Item -Path 'C:\ParsecTemp\Apps\Parsec-Windows\$APPDA ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\ParsecTemp\A...$APPDATA\Parsec:String) [Move-Item], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.MoveItemCommand

Installing ViGEmBus - https://github.com/ViGEm/ViGEmBus
Creating Parsec Firewall Rule
Creating Parsec Service
Successfully installed Parsec
Out-File : Could not find a part of the path 'C:\Users\amhchiu\AppData\Roaming\Parsec\config.txt'.
At C:\Users\[username]\Desktop\parsectemp\PostInstall\PostInstall.ps1:495 char:29
+ ... p_host=1" | Out-File -FilePath $ENV:AppData\Parsec\config.txt -Encodi ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand

Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At C:\Users\[username]\Desktop\parsectemp\PostInstall\PostInstall.ps1:496 char:1
+ Start-Process -FilePath "$ENV:AppData\Parsec\electron\parsec.exe"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

A Parsec shortcut is created on the Desktop, but it is not linked to an executable file, and so Parsec does not run.

Everything else seems to run smoothly.

This was replicated in both Windows Server 2016 and Windows Server 2019.

@jamesstringerparsec
Copy link
Member

jamesstringerparsec commented Jan 13, 2020

The Parsec application has changed and will no longer be visisble to RDP connections.

Ignore the errors and follow the rest of the script instructions (including installing GPU driver and setting up auto login), ignoring the part about logging into Parsec.

Reboot the machine, connect via VNC and you will now be able to see and login to Parsec.

RDP and Parsec are not compatible.

You can find Parsec in C:\Program Files\Parsec\parsecd.exe <- you can make a working desktop shortcut from that application.

A change to remove the error messages from the script and fix the icon in the next few days.

@AndrewManHayChiu
Copy link
Author

Thanks for the information.

This solved my issue.

Thanks!

@jamesstringerparsec
Copy link
Member

I'm going to leave this open because others will have this issue and this information will be helpful

@jamesstringerparsec
Copy link
Member

This is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants