Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit bcc8a2f

Browse files
Document how to run without user interaction
1 parent feebd3c commit bcc8a2f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,14 @@ A. There is another screen on the cloud machine that Parsec can't capture, that
119119
3. Press Windows Key + P
120120
4. Press Down Arrow, Down Arrow, Enter.
121121

122+
Q. I want to run this script automatically without user interraction.
123+
A. It's possible to do so but you will need to figure out how to install the GPU Driver on your own. The below code will do everything but install the GPU Driver.
124+
```
125+
[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
126+
$ScriptWebArchive = "https://github.com/parsec-cloud/Parsec-Cloud-Preparation-Tool/archive/master.zip"
127+
$LocalArchivePath = "$ENV:UserProfile\Downloads\Parsec-Cloud-Preparation-Tool"
128+
(New-Object System.Net.WebClient).DownloadFile($ScriptWebArchive, "$LocalArchivePath.zip")
129+
Expand-Archive "$LocalArchivePath.zip" -DestinationPath $LocalArchivePath -Force
130+
CD $LocalArchivePath\Parsec-Cloud-Preparation-Tool-master\PostInstall | powershell.exe .\PostInstall.ps1 -DontPromptPasswordUpdateGPU
131+
```
132+

0 commit comments

Comments
 (0)