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

Windows: prysm.bat does not recognize AMD processors as 64 bit #7810

Open
prestonvanloon opened this issue Nov 13, 2020 · 4 comments
Open

Windows: prysm.bat does not recognize AMD processors as 64 bit #7810

prestonvanloon opened this issue Nov 13, 2020 · 4 comments

Comments

@prestonvanloon
Copy link
Member

@prestonvanloon prestonvanloon commented Nov 13, 2020

prysm/prysm.bat

Lines 37 to 41 in 075f145

reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set WinOS=32BIT || set WinOS=64BIT
if %WinOS%==32BIT (
echo �[31mERROR: prysm is only supported on 64-bit Operating Systems �[0m
exit /b 1
)

unknown (1)

There is no "x86" string for AMD processors such as AMD Ryzen 5 4600H

@prestonvanloon
Copy link
Member Author

@prestonvanloon prestonvanloon commented Nov 13, 2020

@prestonvanloon
Copy link
Member Author

@prestonvanloon prestonvanloon commented Nov 13, 2020

@wgknowles
Copy link
Contributor

@wgknowles wgknowles commented Nov 14, 2020

On holiday for a week, but here’s some helpful info: https://ss64.com/nt/syntax-64bit.html

@ThothLogos
Copy link

@ThothLogos ThothLogos commented Dec 2, 2020

I was just poking around your issues, some possibilities to explore perhaps for whoever jumps on it:

C:\Users\thoth> WMIC ComputerSystem GET SystemType
SystemType
x64-based PC

C:\Users\thoth> WMIC OS GET OSArchitecture
OSArchitecture
64-bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.