Closed elevateman closed 1 year ago
The solution is to build the windows 10 VM with a one word user name. I kept making the fresh windows install with user name "JOHN DOE" instead of a single word user name. This resolved the issue upon package install the paths where the package is installed is clear of blanks in the path and hence can find the source files. Install was successful.
The following recommendation is already in the README:
Avoiding usernames containing a space or other special characters
But we could add a check when installing flare-vm.
@Ana06 FYSA, adding this check in https://github.com/mandiant/flare-vm/pull/485
See #485, thanks @HuskyHacks!
Upon following this script: Open a PowerShell prompt as administrator Download the installation script installer.ps1 to your desktop (New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1") Unblock the installation script by running: Unblock-File .\install.ps1 Enable script execution by running: Set-ExecutionPolicy Unrestricted If you receive an error saying the execution policy is overridden by a policy defined at a more specific scope, you may need to pass a scope in via Set-ExecutionPolicy Unrestricted -Scope CurrentUser to view execution policies for all scopes, type Get-ExecutionPolicy -List Finally, execute the installer script as follow: .\install.ps1
I get the following error See Image