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

Unlocker error (Can't open file "C") ? #3

Open
jayk1961 opened this issue Dec 9, 2019 · 24 comments
Open

Unlocker error (Can't open file "C") ? #3

jayk1961 opened this issue Dec 9, 2019 · 24 comments

Comments

@jayk1961
Copy link

jayk1961 commented Dec 9, 2019

First run, it died because it couldn't close or stop vmware services ?

I started VMWare Workstation and then ran the Unlocker and it hung on trying to close or stop a usb service:

Error: Couldn't stop service "vmware-view-usbd", Error: OpenService failed (-141562368)

So I think I closed it again, and re-ran the Unlocker and this popped up:

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
Error: Couldn't open file C
Downloading tools into ".\tools" directory...

Ran it again and there appears to be no error.

First run log:

Killing services and backing up files...
Error: Couldn't stop service "vmware-view-usbd", Error: OpenService failed (-141562368)
Error: Couldn't stop service "VMwareHostd", Error: Service is already stopped.
Service "VMAuthdService" stopped successfully.
Service "VMUSBArbService" stopped successfully.
Process "vmware-tray.exe" killed successfully.
File "C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-stats.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe" backup done.
Patching files...
File: vmware-vmx.exe
Patching file: vmware-vmx.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000aabde0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000aabe00
+LKS Key:
002 0x0000000000aabe48 +LKS 01 flag 0x90 0x0000000140138a30 07
OSK0 Key Before:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000ab0210
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000ab0230
+LKS Key:
004 0x0000000000ab0308 +LKS 01 flag 0x90 0x0000000140138a30 01
OSK0 Key Before:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-debug.exe
Patching file: vmware-vmx-debug.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000cab700
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000cab720
+LKS Key:
002 0x0000000000cab768 +LKS 01 flag 0x90 0x0000000140171170 07
OSK0 Key Before:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000cafb30
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000cafb50
+LKS Key:
004 0x0000000000cafc28 +LKS 01 flag 0x90 0x0000000140171170 01
OSK0 Key Before:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-stats.exe
Patching file: vmware-vmx-stats.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000af7760
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000af7780
+LKS Key:
002 0x0000000000af77c8 +LKS 01 flag 0x90 0x0000000140142cd0 07
OSK0 Key Before:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000afbb90
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000afbbb0
+LKS Key:
004 0x0000000000afbc88 +LKS 01 flag 0x90 0x0000000140142cd0 01
OSK0 Key Before:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
Error: Couldn't open file C
Downloading tools into ".\tools" directory...

Last run that appears to succeeded (?):

Killing services and backing up files...
Error: Couldn't stop service "vmware-view-usbd", Error: OpenService failed (-1336480768)
Error: Couldn't stop service "VMwareHostd", Error: Service is already stopped.
Service "VMAuthdService" stopped successfully.
Service "VMUSBArbService" stopped successfully.
Error: Error: Couldn't kill `±V░☺, process not found.
File "C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-stats.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe" backup done.
Patching files...
File: vmware-vmx.exe
Patching file: vmware-vmx.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000aabde0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000aabe00
+LKS Key:
002 0x0000000000aabe48 +LKS 01 flag 0x90 0x0000000140138a30 07
OSK0 Key Before:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000ab0210
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000ab0230
+LKS Key:
004 0x0000000000ab0308 +LKS 01 flag 0x90 0x0000000140138a30 01
OSK0 Key Before:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-debug.exe
Patching file: vmware-vmx-debug.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000cab700
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000cab720
+LKS Key:
002 0x0000000000cab768 +LKS 01 flag 0x90 0x0000000140171170 07
OSK0 Key Before:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000cafb30
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000cafb50
+LKS Key:
004 0x0000000000cafc28 +LKS 01 flag 0x90 0x0000000140171170 01
OSK0 Key Before:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-stats.exe
Patching file: vmware-vmx-stats.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000af7760
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000af7780
+LKS Key:
002 0x0000000000af77c8 +LKS 01 flag 0x90 0x0000000140142cd0 07
OSK0 Key Before:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000afbb90
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000afbbb0
+LKS Key:
004 0x0000000000afbc88 +LKS 01 flag 0x90 0x0000000140142cd0 01
OSK0 Key Before:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
GOS Patched flag @: 0x00000000005235f0
GOS Patched flag @: 0x0000000000523630
GOS Patched flag @: 0x00000000005c4c58
GOS Patched flag @: 0x00000000005c4c98
GOS Patched flag @: 0x0000000000523670
GOS Patched flag @: 0x00000000005236b0
GOS Patched flag @: 0x00000000005236f0
GOS Patched flag @: 0x0000000000523730
GOS Patched flag @: 0x0000000000523770
GOS Patched flag @: 0x00000000005237b0
GOS Patched flag @: 0x00000000005237f0
GOS Patched flag @: 0x0000000000523830
GOS Patched flag @: 0x0000000000523870
GOS Patched flag @: 0x00000000005238b0
GOS Patched flag @: 0x00000000005238f0
GOS Patched flag @: 0x0000000000523930
GOS Patched flag @: 0x0000000000523970
GOS Patched flag @: 0x00000000005c4cd8
GOS Patched flag @: 0x00000000005c4d18
GOS Patched flag @: 0x00000000005c4d58
GOS Patched flag @: 0x00000000005c4d98
GOS Patched flag @: 0x00000000005c4dd8
GOS Patched flag @: 0x00000000005c4e18
GOS Patched flag @: 0x00000000005c4e58
GOS Patched flag @: 0x00000000005c4e98
GOS Patched flag @: 0x00000000005c4ed8
GOS Patched flag @: 0x00000000005c4f18
GOS Patched flag @: 0x00000000005c4f58
GOS Patched flag @: 0x00000000005c4f98
GOS Patched flag @: 0x00000000005c4fd8
GOS Patched: vmwarebase.dll
Downloading tools into ".\tools" directory...

Download progress: 99 %, 522.32 MB / 522.66 MB
Extracting from .tar to temp folder ...
Extracting from .zip to destination folder ...
Tools successfully downloaded!
Copying tools into program directory...
Error: copy_file: The file exists.: ".\tools\darwin.iso", "C:\Program Files (x86)\VMware\VMware Workstation\darwin.iso"
Error: copy_file: The file exists.: ".\tools\darwinPre15.iso", "C:\Program Files (x86)\VMware\VMware Workstation\darwinPre15.iso"
Restarting services...
Error: Couldn't start service VMUSBArbService
Error: Couldn't start service VMAuthdService
Error: Couldn't start service VMwareHostd
Error: Couldn't start service vmware-view-usbd
Patch complete.

@paolo-projects
Copy link
Owner

It seems to me that something did not work as expected. reinstall your vmware and re-run the unlocker. Don't mind "service could not be stopped" errors they will be removed in a future release as they are misleading.

@jayk1961
Copy link
Author

Yes. The second or so time I re-ran it, it worked fine (I did not have to reinstall VMware).

@paolo-projects
Copy link
Owner

glad to hear so!

@Silun
Copy link

Silun commented Mar 12, 2020

Came here to say that I have had the exact same issue on Workstation 15.5.1, and uninstalling the unlocker and then immediately reinstalling it fixed the issue, as well. So maybe there is something in the bushes.

@paolo-projects
Copy link
Owner

Yes it's the same as #9, I have to look into it to see if it's a bug or it's something weird with vmware

@ExcellentSpirit
Copy link

Thank you so for the auto unlocker. It worked for me and Apple OS showed up in my VMware, but something went wrong. I had to thoroughly uninstall VMware and the unlocker.
I have installed both, but the “it couldn’t stop service or so error” keep showing up! And Apple as OS doesn’t show in the VMware anymore.
I’m doing a system restore right now to see if I can install VMware and unlocker and run it again.
Any help would be appreciated. Thanks a lot.

@guyulmaz
Copy link

guyulmaz commented Apr 9, 2020

run as administrator is important I think

@paolo-projects
Copy link
Owner

paolo-projects commented Apr 9, 2020

The "it couldn't stop service" error is not critical for the patch and has been suppressed in a pull by BDisp. The latest release (1.1) includes the modification and doesn't show this error anymore but even in the old release you can safely ignore it. If mac is not showing up in OSes list try clean-reinstalling vmware and clean-reinstalling the patch (download the new version). If you are on windows it should ask for administrator by default, on linux you have to run as root for it to work

@StanleySweet
Copy link

I thought I had written a comment here. I had the same issue, it turned out to be that some vmware programs were still running in the background. I had to kill them manually using the task manager

@MadFlasher
Copy link

MadFlasher commented Apr 21, 2020

Hi,
Same report here,
Fresh install of VMWare 15.5.2, fresh Windows 10 pro 18363.778

vmwarebase.dll can't be patched (but file appear not locked, I can rename it for example...)

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
Error: Couldn't open file C

Had to manually kill all VMWare related task before applying the patch -> no error
;-)

my VMWare is on custom path D:\Programs\VMWare\

@paolo-projects
Copy link
Owner

Thank you for both your reports, at this point it's almost certain that the problem is a background vmware executable that locks the file. The reason why you can still rename it but the software can't write to it (even with administrator privileges) is maybe windows related, and it probably lies into the fstream/fopen winapi implementation inside the c++ library. That's only a guess though.

It should be possible to fix it by adding a specific winapi implementation of file access but I think it's not worth the time. It should be easily fixed by adding a process kill routine.

@au10tic
Copy link

au10tic commented May 8, 2020

@MadFlasher what cpu do you have Intel or AMD? I have an AMD ryzen 5 2200G -- i havent tried the latest vmware workstation yet, but i am currently using 15.1.0 build-13591040 and unlocker 1.1 installs fine before terminating all VMware related from task manager, but if i attempt to install Mojave it fails with An error occurred validating the installer data. The download is either damaged or incomplete. Redownload the installer and try again. and i've used this iso before.. Catalina installation just gets stuck on first apple white logo with black background screen, if i modify the vm to windows 10 x64, then it loads but i also get the same error as above with Mojave during the installation, see screenshot below;

image

@MadFlasher
Copy link

MadFlasher commented May 11, 2020

A tiny Intel i3-8145U
Absolutly no issue here with Catalina & VMWare 15.5.2 : just setup new OSX VM, customize .vmx with smc.version = "0" and let's go booting from .iso
I made my own Catalina iso from High Sierra VM

Sans titre

@MadFlasher what cpu do you have Intel or AMD? I have an AMD ryzen 5 2200G -- i havent tried the latest vmware workstation yet, but i am currently using 15.1.0 build-13591040 and unlocker 1.1 installs fine before terminating all VMware related from task manager, but if i attempt to install

@au10tic
Copy link

au10tic commented May 12, 2020

weird.. my OS X list on my AMD Ryzen system only goes up to 10.14, I cannot even get to install Mojave anymore, will re-make another iso and see what happens.

@au10tic
Copy link

au10tic commented May 13, 2020

after remaking both Mojave and Catalina .iso files I can now install them on VMware workstation 15.1.0 build-13591040 using ryzen 5 2400G

@igalvit
Copy link

igalvit commented Aug 17, 2020

Hi,
Same report here,
Fresh install of VMWare 15.5.2, fresh Windows 10 pro 18363.778

vmwarebase.dll can't be patched (but file appear not locked, I can rename it for example...)

File: vmwarebase.dll GOS Patching: vmwarebase.dll Error: Couldn't open file C

Had to manually kill all VMWare related task before applying the patch -> no error
;-)

my VMWare is on custom path D:\Programs\VMWare\

Hi,
Same report here,
Fresh install of VMWare 15.5.2, fresh Windows 10 pro 18363.778

vmwarebase.dll can't be patched (but file appear not locked, I can rename it for example...)

File: vmwarebase.dll GOS Patching: vmwarebase.dll Error: Couldn't open file C

Had to manually kill all VMWare related task before applying the patch -> no error
;-)

my VMWare is on custom path D:\Programs\VMWare\

You must use a program like Process Explorer from Sysinternals to search the process id of the process that is blocking the file "vmwarebase.dll" and kill it. Once you stop that process, the unlocker works well.

@rvalitov
Copy link

Got the same issue with VMWare 16
image

@MadFlasher
Copy link

MadFlasher commented Nov 15, 2020

Got the same issue with VMWare 16
image

Hi rvalitov,

Can you one by one kill VMWare related app/service (via Windows Task manager) and apply the unlocker
Last time I kill all related tasks in one time and after unlocker work, but I don't know exactly what task "lock" the unlocker...

( #3 (comment) )

@rvalitov
Copy link

@MadFlasher I'm not sure if this issue is related with killing tasks. I did kill the tasks manually, because the unlocker does not do it. Anyway I get the error message about open file C, however, it seems the unlocker succeeds and everything works.

@4soobs
Copy link

4soobs commented Dec 28, 2020

Replying to an old issue, using 1.1, the issue still persists, but after ending tasks manually using task manager, the unlocker modified the files successfully without any issues.

@ghost
Copy link

ghost commented Feb 3, 2021

I have the same issue today, but i resolved it by killed all VMware related process. then rerun the unlocker, problem resolved.

@boozezela
Copy link

For what is worth, if I kill the services manually and then run unlocker.exe vmwarebase.dll gets patched just fine.

You can either do it from the GUI by running "services.msc" or from the command line by running the following:

sc stop "VMwareHostd"
sc stop "VMware NAT Service"
sc stop "VMnetDHCP"
sc stop "VMUSBArbService"
sc stop "VMAuthdService"

My 2 cents.

@JkD004
Copy link

JkD004 commented Oct 21, 2023

(c) Dave Parsons 2011-18

Set encoding parameters...
Active code page: 850

VMware is installed at: C:\Program Files (x86)\VMware\VMware Workstation
VMware product version: 17.0.0.20800274

Stopping VMware services...

Backing up files...
C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe -> C:\Users\Downloads\release-python-embedded\backup\x64\vmware-vmx.exe
1 File(s) copied
C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe -> C:\Users\Downloads\release-python-embedded\backup\x64\vmware-vmx-debug.exe
1 File(s) copied
C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-stats.exe -> C:\Users\Downloads\release-python-embedded\backup\x64\vmware-vmx-stats.exe
1 File(s) copied
C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll -> C:\Users\Downloads\release-python-embedded\backup\vmwarebase.dll
1 File(s) copied

Patching...
File: C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0xcd6300
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0xcd6320
+LKS Key:
002 0xcd6368 +LKS 01 flag 0x90 0x1401f8ec0 07
OSK0 Key Before:
241 0xcda6a0 OSK0 32 ch8* 0x80 0x1401f8ec0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK0 Key After:
241 0xcda6a0 OSK0 32 ch8* 0x80 0x1401f8ec0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK1 Key Before:
242 0xcda6e8 OSK1 32 ch8* 0x80 0x1401f8ec0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63
OSK1 Key After:
242 0xcda6e8 OSK1 32 ch8* 0x80 0x1401f8ec0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0xcda730
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0xcda750
+LKS Key:
004 0xcda828 +LKS 01 flag 0x90 0x1401f8ec0 01
OSK0 Key Before:
435 0xce2160 OSK0 32 ch8* 0x90 0x1401f8ec0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK0 Key After:
435 0xce2160 OSK0 32 ch8* 0x90 0x1401f8ec0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK1 Key Before:
436 0xce21a8 OSK1 32 ch8* 0x90 0x1401f8ec0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63
OSK1 Key After:
436 0xce21a8 OSK1 32 ch8* 0x90 0x1401f8ec0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63

File: C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0xf99010
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0xf99030
+LKS Key:
002 0xf99078 +LKS 01 flag 0x90 0x140273520 07
OSK0 Key Before:
241 0xf9d3b0 OSK0 32 ch8* 0x80 0x140273520 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK0 Key After:
241 0xf9d3b0 OSK0 32 ch8* 0x80 0x140273520 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK1 Key Before:
242 0xf9d3f8 OSK1 32 ch8* 0x80 0x140273520 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63
OSK1 Key After:
242 0xf9d3f8 OSK1 32 ch8* 0x80 0x140273520 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0xf9d440
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0xf9d460
+LKS Key:
004 0xf9d538 +LKS 01 flag 0x90 0x140273520 01
OSK0 Key Before:
435 0xfa4e70 OSK0 32 ch8* 0x90 0x140273520 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK0 Key After:
435 0xfa4e70 OSK0 32 ch8* 0x90 0x140273520 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK1 Key Before:
436 0xfa4eb8 OSK1 32 ch8* 0x90 0x140273520 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63
OSK1 Key After:
436 0xfa4eb8 OSK1 32 ch8* 0x90 0x140273520 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63

File: C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-stats.exe

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0xd32a30
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0xd32a50
+LKS Key:
002 0xd32a98 +LKS 01 flag 0x90 0x140208340 07
OSK0 Key Before:
241 0xd36dd0 OSK0 32 ch8* 0x80 0x140208340 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK0 Key After:
241 0xd36dd0 OSK0 32 ch8* 0x80 0x140208340 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK1 Key Before:
242 0xd36e18 OSK1 32 ch8* 0x80 0x140208340 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63
OSK1 Key After:
242 0xd36e18 OSK1 32 ch8* 0x80 0x140208340 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0xd36e60
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0xd36e80
+LKS Key:
004 0xd36f58 +LKS 01 flag 0x90 0x140208340 01
OSK0 Key Before:
435 0xd3e890 OSK0 32 ch8* 0x90 0x140208340 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK0 Key After:
435 0xd3e890 OSK0 32 ch8* 0x90 0x140208340 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C
OSK1 Key Before:
436 0xd3e8d8 OSK1 32 ch8* 0x90 0x140208340 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63
OSK1 Key After:
436 0xd3e8d8 OSK1 32 ch8* 0x90 0x140208340 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63

GOS Patching: C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll
Traceback (most recent call last):
File "C:\Users\Downloads\release-python-embedded\unlocker.py", line 401, in
main()
File "C:\Users\Downloads\release-python-embedded\unlocker.py", line 397, in main
patchbase(vmwarebase)
File "C:\Users\Downloads\release-python-embedded\unlocker.py", line 306, in patchbase
f = open(name, 'r+b')
PermissionError: [Errno 13] Permission denied: 'C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll'

image

Might be this is the reason why I'm getting "your computer restarted because of a problem press a key or wait a few seconds vmware "

@ISSKsec
Copy link

ISSKsec commented Jul 4, 2024

yes, this issue can be resolved by killing all VMware process in the task manager.
Please note that the vmware windows must be closed.

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