Windows 10: Same native EXE runs much faster as admin

Discus and support Same native EXE runs much faster as admin in Windows 10 BSOD Crashes and Debugging to solve the problem; I have a native C++11 console application that reads a binary file and stores results in standard library containers. I have a timer around the... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by DW314159, Dec 18, 2020.

  1. DW314159 Win User

    Same native EXE runs much faster as admin


    I have a native C++11 console application that reads a binary file and stores results in standard library containers. I have a timer around the portion that opens, reads, and loads these structures. The same build runs 66% faster when I run it as admin than when run without. Why is this?


    This is a stand alone machine, not part of any domain and my account has admin privileges - I know of now special restrictions on it.

    :)
     
    DW314159, Dec 18, 2020
    #1
  2. Bree Win User

    running DOS as ADMIN

    I suggested that in post #4 but @bromberg doesn't seem to have tried it yet...
     
  3. djmcnz Win User
    running DOS as ADMIN

    I assume you don't have 'exit' anywhere in your batch file?

    Rather than playing with 'pause' - if you want to see the output...

    1. Open a command window as admin
    2. Run the batch file manually
    3. Command window will not close unless the 'exit' command is issued
    4. Read output
    That's the first step I'd take to diagnose. Then run every line in your batch file manually, one-by-one, in your admin command window (copy and paste from the actual batch file, don't retype the commands).

    You'll soon find your problem.
     
    djmcnz, Dec 18, 2020
    #3
  4. Eric Ber Win User

    Same native EXE runs much faster as admin

    Can't run .exe file

    Hi Phil,

    There are several reasons why you are having issues running .exe files on your Windows 10 laptop. To assist you better, kindly answer the questions below:

    • Have you made any changes to your laptop prior to this issue?
    • What troubleshooting steps have you done so far?
    • What is the error message that you received when running .exe files?

    Regards.
     
    Eric Ber, Dec 18, 2020
    #4
Thema:

Same native EXE runs much faster as admin

Loading...
  1. Same native EXE runs much faster as admin - Similar Threads - Same native EXE

  2. Why two exe programs cannot be run at the same time?

    in Windows 10 Gaming
    Why two exe programs cannot be run at the same time?: The situation happens when running report view .exe program for generating pdf and excel which needs 30mins to complete, and then i start to run another .exe via Task Scheduler, and it fails to run.But the programs work normally when the report review program completed the...
  3. Why two exe programs cannot be run at the same time?

    in Windows 10 Software and Apps
    Why two exe programs cannot be run at the same time?: The situation happens when running report view .exe program for generating pdf and excel which needs 30mins to complete, and then i start to run another .exe via Task Scheduler, and it fails to run.But the programs work normally when the report review program completed the...
  4. Why two exe programs cannot be run at the same time?

    in Windows 10 BSOD Crashes and Debugging
    Why two exe programs cannot be run at the same time?: The situation happens when running report view .exe program for generating pdf and excel which needs 30mins to complete, and then i start to run another .exe via Task Scheduler, and it fails to run.But the programs work normally when the report review program completed the...
  5. Compiling in WSL2 if 6x Faster than on native Windows

    in Windows 10 Gaming
    Compiling in WSL2 if 6x Faster than on native Windows: I have 2 IDEs - vscode and Eclipse that both compile 6x slower on the native host than they do running in WSL. I;ve tried different compiler and different code bases, and they are all about the same. This is a mid end machine with 2TB NVME SSD and a Ryzen 3900X and I've...
  6. Compiling in WSL2 if 6x Faster than on native Windows

    in Windows 10 Software and Apps
    Compiling in WSL2 if 6x Faster than on native Windows: I have 2 IDEs - vscode and Eclipse that both compile 6x slower on the native host than they do running in WSL. I;ve tried different compiler and different code bases, and they are all about the same. This is a mid end machine with 2TB NVME SSD and a Ryzen 3900X and I've...
  7. Compiling in WSL2 if 6x Faster than on native Windows

    in Windows 10 BSOD Crashes and Debugging
    Compiling in WSL2 if 6x Faster than on native Windows: I have 2 IDEs - vscode and Eclipse that both compile 6x slower on the native host than they do running in WSL. I;ve tried different compiler and different code bases, and they are all about the same. This is a mid end machine with 2TB NVME SSD and a Ryzen 3900X and I've...
  8. Cannot run .exe files, cmd (admin)

    in Windows 10 BSOD Crashes and Debugging
    Cannot run .exe files, cmd (admin): Hi! I tried to install a program to recover some lost pictures from an android phone. Later on some error popped up basically saying I couldn’t install the program. I’ve since then deleted the installer exe file. For some reason nothing was working so i force shutdown my...
  9. Tweak or "run faster"

    in Windows 10 Performance & Maintenance
    Tweak or "run faster": Most folks have their own opinions so give me a few on if any software programs out there actually worth the time? "Brink is God"*chuckle 65030
  10. Does Windows 10 Run Much Faster Than Windows 7 and Why Does It?

    in Windows 10 Support
    Does Windows 10 Run Much Faster Than Windows 7 and Why Does It?: I upgraded from my Windows 7 laptop to a Windows 10 laptop. The new laptop has an i7 processor and a SSD; and the old has an i5 processor and an optical hard drive. The processor clock speeds are not much different. The speed of the new computer however is several times...