[GH-ISSUE #729] VM Only Issue Getting a Error elevated client or not while using Remote Registry #472

Open
opened 2026-02-27 15:50:32 +03:00 by kerem · 6 comments
Owner

Originally created by @cyclo-techtwister on GitHub (Nov 25, 2018).
Original GitHub issue: https://github.com/quasar/Quasar/issues/729

###Low Priority###

This appears to be a Virtual Box (VM) Issues Only
(Have not tested on any other VM myself)

Getting a Error elevated or not does not matter

To Reproduce
Steps to reproduce the behavior:
Compile as would and run client using Virtual box VM
then try using reg tool to expand HKCU software.
See error

Expected behavior
Error popup
While trying to using reg tool to expand HKCU key "software".
Error states
"Specified cast is not valid"

However when elevated and in HKLM expanding that key works fine.

System

  • Server OS: [e.g. Windows 7]
  • Client OS: [e.g. Windows 7] Virtual Box VM version 5.2.22r
  • Quasar Version: [e.g. 1.3.0,]
Originally created by @cyclo-techtwister on GitHub (Nov 25, 2018). Original GitHub issue: https://github.com/quasar/Quasar/issues/729 ###**Low Priority**### This appears to be a Virtual Box (VM) Issues Only (Have not tested on any other VM myself) Getting a Error elevated or not does not matter **To Reproduce** Steps to reproduce the behavior: Compile as would and run client using Virtual box VM then try using reg tool to expand HKCU software. See error **Expected behavior** Error popup While trying to using reg tool to expand HKCU key "software". Error states "Specified cast is not valid" However when elevated and in HKLM expanding that key works fine. **System** - Server OS: [e.g. Windows 7] - Client OS: [e.g. Windows 7] Virtual Box VM version 5.2.22r - Quasar Version: [e.g. 1.3.0,]
Author
Owner

@MaxXor commented on GitHub (Nov 26, 2018):

Hm, again some Windows 7-only issue. Can't reproduce it on Windows 10.

<!-- gh-comment-id:441733705 --> @MaxXor commented on GitHub (Nov 26, 2018): Hm, again some Windows 7-only issue. Can't reproduce it on Windows 10.
Author
Owner

@MaxXor commented on GitHub (Nov 26, 2018):

Also on Windows 7 I don't get any errors.

edit: What exactly do you mean? Do you just run the client on a Windows 7 VM (non-elevated) and get an error when trying to expand HKCU\Software? Can you check in your registry editor if there is any registry key name with special Unicode chars?

<!-- gh-comment-id:441741945 --> @MaxXor commented on GitHub (Nov 26, 2018): Also on Windows 7 I don't get any errors. edit: What exactly do you mean? Do you just run the client on a Windows 7 VM (non-elevated) and get an error when trying to expand `HKCU\Software`? Can you check in your registry editor if there is any registry key name with special Unicode chars?
Author
Owner

@cyclo-techtwister commented on GitHub (Nov 27, 2018):

@MaxXor I run Server on a normal Windows 7 OS system and the Client both at times if a issue comes up. This issue only happens when running client in the VM (I run elevated and still have this issue). Client works fine when running on normal (not in VM) system. VM has no AV but, what is built into Windows.. Same on other normal OS test machine.

<!-- gh-comment-id:441913612 --> @cyclo-techtwister commented on GitHub (Nov 27, 2018): @MaxXor I run Server on a normal Windows 7 OS system and the Client both at times if a issue comes up. This issue only happens when running client in the VM (I run elevated and still have this issue). Client works fine when running on normal (not in VM) system. VM has no AV but, what is built into Windows.. Same on other normal OS test machine.
Author
Owner

@cyclo-techtwister commented on GitHub (Nov 27, 2018):

@MaxXor Does it matter that on the VM box I only have .NET Framework 4.7.2 installed. Will the Client not function correctly? Remember the "Server" runs on a fully up to date with all the proper .NET Framework such as .NET Framework 4 client profile and newer.. I don't expect you spending too much if any time on this as it appears to be a issue only if client is running in a VM.. I do thank you for your time and responses... Oh, has the Plugin feature been implemented yet, I miss having Web Cam/microphone options mic comes in handy when acting as a help desk...

<!-- gh-comment-id:441940752 --> @cyclo-techtwister commented on GitHub (Nov 27, 2018): @MaxXor Does it matter that on the VM box I only have .NET Framework 4.7.2 installed. Will the Client not function correctly? Remember the "Server" runs on a fully up to date with all the proper .NET Framework such as .NET Framework 4 client profile and newer.. I don't expect you spending too much if any time on this as it appears to be a issue only if client is running in a VM.. I do thank you for your time and responses... Oh, has the Plugin feature been implemented yet, I miss having Web Cam/microphone options mic comes in handy when acting as a help desk...
Author
Owner

@MaxXor commented on GitHub (Nov 27, 2018):

I've tested it in Windows 7 VM with KVM. Can you maybe run a debug-build and find out which line causes the exception? .NET Framework 4.7.2 shouldn't be an issue, I think.

No the plugin system is not ready yet.

<!-- gh-comment-id:441979087 --> @MaxXor commented on GitHub (Nov 27, 2018): I've tested it in Windows 7 VM with KVM. Can you maybe run a debug-build and find out which line causes the exception? .NET Framework 4.7.2 shouldn't be an issue, I think. No the plugin system is not ready yet.
Author
Owner

@cyclo-techtwister commented on GitHub (Nov 27, 2018):

I tried running a debug-build. Can't run Server debug-build client won't connect. Tried Client debug-build again needs the release version of Server to connect. debug-build of Client will connect to release version of Server but, that is not helpful as I just see the same error as first stated with no other info.
Error states
"Specified cast is not valid"

ps. VS2017 is installed on a normal system not the VM..

<!-- gh-comment-id:442227484 --> @cyclo-techtwister commented on GitHub (Nov 27, 2018): I tried running a debug-build. Can't run Server debug-build client won't connect. Tried Client debug-build again needs the release version of Server to connect. debug-build of Client will connect to release version of Server but, that is not helpful as I just see the same error as first stated with no other info. Error states "Specified cast is not valid" ps. VS2017 is installed on a normal system not the VM..
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#472
No description provided.