Created
September 1, 2018 19:01
-
-
Save W-Floyd/7ccf5e4f074939e403bed483f82a4042 to your computer and use it in GitHub Desktop.
Simple script to make a Virtualbox VM hidden enough to install SolidWorks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
__get_random_string () { | |
openssl rand -hex "${1}" | cut -c "1-${1}" | |
} | |
__my_vm='W10' | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" "American Megatrends Inc" | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" "2.1.0" | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "ASUSTek Computer" | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "$(__get_random_string 9)" | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/ahci/0/Config/Port0/SerialNumber" "$(__get_random_string 20)" | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/ahci/0/Config/Port0/FirmwareRevision" "$(__get_random_string 8)" | |
VBoxManage setextradata "${__my_vm}" "VBoxInternal/Devices/ahci/0/Config/Port0/ModelNumber" "SEAGATE ST3750525AS" | |
exit |
SanZamoyski
commented
Jan 25, 2022
via email
•
It depends on installed windows and VB settings. I do not use SolidWorks
for big projects, although quite often. My current VM (W7) works slower
than previous (W7 or W8, don't remember) - same machine, same software.
Didn't have time to check why. I use Thin/Utrasmall or whatever versions of
windows (torrents), so it might be that (a lot of fun trying to change
licence number =/ ). Anyway try different Windows *source*.
Also You need to turn OFF KVM, that's what SolidWorks checks: https://serverfault.com/questions/727347/solidworks-activation-license-mode-is-not-supported-in-this-virtual-environment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment