Windows 10: How can a script or EXE detect if it's running on a server?

Discus and support How can a script or EXE detect if it's running on a server? in Windows 10 Support to solve the problem; What call or query can I make to determine whether the PC my software is running on is a single-user PC or a server? For example, is there a registry... Discussion in 'Windows 10 Support' started by contours, Sep 30, 2018.

  1. contours Win User

    How can a script or EXE detect if it's running on a server?


    What call or query can I make to determine whether the PC my software is running on is a single-user PC or a server? For example, is there a registry entry to check?

    The utility systeminfo.exe can return a comprehensive summary with lines for "OS Name:" and "OS Configuration:". But what I'd like is something far simpler: IsServer=Yes/No.

    If there is no single parameter to check, then is "OS Configuration" a reliable indication? If so, what does a server version have on that line. (I don't have access to a server to test this ... and my development PC shows Standalone Workstation.)

    Thanks in advance for any help.

    :)
     
    contours, Sep 30, 2018
    #1

  2. long running script in email account

    Hi,

    The long-running script error usually occurs when there are issues with Internet Explorer.

    To resolve your concern, we suggest turning off the scripting debugger in Internet Explorer 11. Please follow these steps:

    • Open Internet Explorer.
    • Click the Settings icon at the top-right corner, then select Internet Options.
    • On the Advanced tab, uncheck Disable script debugging (Internet Explorer) and
      Disable script debugging (Other).
    • Click Apply, then OK.

    Once done, check if the issue will still persist.

    Update us with the outcome so we can provide further assistance.
     
    Ronalene Mat, Sep 30, 2018
    #2
  3. 'long running script' error

    Hi Sandi,

    The issue may occur due to setting configuration of your IE11. In order for us to assist you, please answer the questions below:

    • Were there any changes made prior to the issue?
    • What troubleshooting steps have you done so far?

    In the meantime, we suggest to check this thread:
    Message that website is not responding due to a long running script
    . Look for Don Varnau answer. It contains troubleshooting steps pertaining to the issue.

    We look forward to your response.
     
    Phillip Pio, Sep 30, 2018
    #3
  4. Eric Ber Win User

    How can a script or EXE detect if it's running on a server?

    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, Sep 30, 2018
    #4
Thema:

How can a script or EXE detect if it's running on a server?

Loading...
  1. How can a script or EXE detect if it's running on a server? - Similar Threads - script EXE detect

  2. Can not run all the .exe file included regedit.exe

    in Windows 10 BSOD Crashes and Debugging
    Can not run all the .exe file included regedit.exe: Most of the program files can not run , included regedit. my access is Administrator. Keeps prompt me can not find the file. How to solve it ?...
  3. RUN won't 'run' EXE files

    in Windows 10 Support
    RUN won't 'run' EXE files: Since 1803 was loaded on 3 of my Dell laptops (various models) I've discovered that the RUN function (under Windows Start Button) won't "run" an EXE file that is located in my download folder. Same response on 3 different laptops. I have a history of the APP for these EXEs...
  4. .exe file wont run

    in Windows 10 Software and Apps
    .exe file wont run: So I'm trying to open a .exe file but all it does is show the blue loading circle and it doesn't do anything. The file wont open and when I try to download the file again it wont open. I'm currently running a windows 10. Can anyone help? 61193
  5. EXE in Startup folder not running

    in Windows 10 Software and Apps
    EXE in Startup folder not running: Just don't know if it's really worth the trouble, seems like just one issue after another. Latest is I wrote a program that runs on windows 10 just fine from a shortcut on the desktop. I copied the shortcut to the startup folder for my account and did all the compatibility...
  6. Can't run .exe

    in Windows 10 Software and Apps
    Can't run .exe: An update to AVG was performed on our computer. After that ran, when we try to open any program we receive the message: xxxx.exe- Application error the application was unable to start correctly (0xc0000135). Click OK to close the application. This occurs for any...
  7. No exe can be executed

    in Windows 10 Software and Apps
    No exe can be executed: Hello. I tried to execute an exe file created by the compilation of code in MS Visual studio 2015 but it doesn't work. Every time i try to execute it stucks. Specifically in command prompt, Ctrl+C doesn't work. Then I tried to compile the code in other apps. But the...
  8. Problem with running .exe files

    in Windows 10 Software and Apps
    Problem with running .exe files: Hi everyone, my friend having a problem with running .exe files. I thought it would be the best to ask here. He can't run .exe files. Sorry for my bad English. http://oi58.tinypic.com/spvnh1.jpg 20973
  9. Running Script

    in Windows 10 Support
    Running Script: I am running Windows 10 / IE 11 and I keep getting a running script error (“Do you want to continue running scripts on this page”?) and it is driving me crazy. I am not real tech savvy so I don’t know where to look on how to. It just started doing it and I have been using...
  10. rundll32.exe detected as virus by Avast

    in Windows 10 Support
    rundll32.exe detected as virus by Avast: Hi, I have a big issue i have all the time a popup coming from Avast saying it has detected a virus in rundll32.exe It comes when i open explorer or when set volume. Now the worst is that i cant even setup the playback devices for my Audio, when i try to go to sound...