|
Post by rikvl on Mar 13, 2020 0:21:46 GMT 1
I just downloaded and installed vDos 2020.03.01. When I try to run one of my programs I get the Exception shown in the subject line. I am running Windows 10 and I my account is set up as Adminstrator. So how do I get over this problem?
Thanks
|
|
|
Post by Jos on Mar 13, 2020 0:59:39 GMT 1
This is NOT considered a problem, but intended as a safeguard. There should be no reason to run vDos elevated. If you didn’t explicitly start vDos as Administrator (why would you), you should first determine why your Windows 10 seemingly starts ALL programs elevated w/o notifying you. This is a major security issue!
Jos
|
|
|
Post by rikvl on Mar 13, 2020 3:20:07 GMT 1
Well I disabled the Administrator account
>> Hold the Windows Key while pressing “R” to bring up the Windows Run dialog box. Type “lusrmgr.msc“, then press “Enter“. Open “Users“. Select “Administrator“. Uncheck or check “Account is disabled” as desired. Select “OK“. <<
rebooted and had exactly the same problem.
|
|
|
Post by emendelson on Mar 13, 2020 3:27:19 GMT 1
Whether or not a program runs elevated has nothing to do with whether or not the user has an administrative account. The two are different things. Something in your Windows environment is causing programs to run elevated; as Jos said, this is a security risk, because it gives programs access to parts of your system that application programs normally should not have.
Possibly you have turned off User Account Control in Windows settings. If so, turn it back on again.
|
|
|
Post by rikvl on Mar 13, 2020 3:39:36 GMT 1
OK, I had UAC turned off so I turned it on with the lowest level of 'ínteference' and that has solved the problem. Thank you. As a matter of principle I never use UAC because I feel that I am savvy enough about IT to recognise when a new program installation might cause problems. You probably disagree.
|
|
|
Post by Jos on Mar 13, 2020 23:00:04 GMT 1
Any Windows (end user) program should only run elevated if you explicitly told it to do so, or it requires that. vDos, like most other common Windows programs, doesn’t need that. Suppose vDos was malware, you wouldn’t be warned by Windows it requires extended rights to implement a backdoor, or whatever. How is this recognized by you with UAC turned off? UAC in Windows 10 surely isn’t that interference as with previous versions. That elevated check is merely a safeguard. If you have trouble with that, contact me directly for disabling that by an entry in config.txt. Now it just seems (as intended) to expose security issues, so the ‘fix’ remains not public (for now).
Jos
|
|
|
Post by charlessurrel on Mar 19, 2020 11:50:34 GMT 1
Hello Joss First I want to thank you for this excellent program. I have downloaded the last version of VDOS (2020) and installed it.
When I run it,I have the same problem with the warning : "Dos should not run elevated" although I have not this warning with the previous versions (2018 et 2019). On my computer, the UAC is at the lowest level of 'warning' Can you help me to solve the problem and give the 'fix' (or should I keep the previous version) Thank you for your help
|
|
|
Post by Jos on Mar 19, 2020 12:26:06 GMT 1
That "vDos should not run elevated" check was added to version 2020.03.01. The main problem/question would be: Why is vDos.exe at all started elevated?
Jos
|
|
|
Post by charlessurrel on Mar 26, 2020 11:14:15 GMT 1
Hello Jos (Sorry for having misspelt your name) Do you think it is possible to find a solution to solve my problem ? Thank you for your help
|
|
|
Post by Jos on Mar 26, 2020 11:48:56 GMT 1
Answered by PM.
Jos
|
|
|
Post by dirk on Mar 4, 2021 21:01:27 GMT 1
I too get this error on my Windows 7 machine even after raising the UAC. I had no problem with a test on my Windows 10 machine but the older one is the one I want to run QB on since it has an RS232 port.
|
|
|
Post by Jos on Mar 4, 2021 21:28:46 GMT 1
Still means vDos.exe is started with elevated rights. If you can’t get it figured out, you can add the “admin=on” option to config.txt. You get a ($ 15?) USB-to-Serial adapter for the Windows 10 PC.
Jos
|
|
|
Post by dirk on Mar 6, 2021 1:45:35 GMT 1
Well, I got it working on both machines--sort of. After some more searching I found your old post that QuickBASIC 4.5 won't work in vDos. The program does come up but then nothing else works, no keyboard, no mouse, even the first screen box is missing. I guess I'll have to explore DOSbox unless I can get my old windows95 machine working again which I can boot into DOS.
|
|
|
Post by dirk on Mar 8, 2021 15:33:12 GMT 1
Well, I used DOSBox and it runs QuickBASIC 4.5 perfectly and implements my RS232 COM to my hardware control as well. All is good!
|
|
|
Post by adim on Mar 11, 2021 15:48:31 GMT 1
Hi Jos,
Same error here.
Windows 7 64 Pro, 16GB RAM, 250GB SSD.
Added
admin=on in config.txt
UAC settings doesn't matter. autoexec.txt was not changed.
It starts when directly clicked,
but not from short-cut/link.
As a workaround, I copied autoexec.txt, config.txt and vDos.exe into the root of the old DOS program and it seems to work
However, I got another problem when started old keyboard program -
the program started (and stayed resident as supposed),
but didn't work as expected. (tested with two different programs)
Such programs generally deal with in-memory font replacement/switching and altering character map when switching languages (as far as I remember - by hooking/replacing some interrupts).
I'm wondering if this program behavior is possible at all in vDos?
Any idea will be highly appreciated.
And thank you for all the efforts!
|
|