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. Script running

    in Windows 10 BSOD Crashes and Debugging
    Script running: Every so often my computer will freeze on a page. I get a message push this button to stop the script, when I do this the page will unfreeze. https://answers.microsoft.com/en-us/windows/forum/all/script-running/95442ea7-9470-4cf6-815a-b9a626b9af61
  3. Long running scripts

    in AntiVirus, Firewalls and System Security
    Long running scripts: I've had this problem for years of "long running scripts" for years. Norton security can't find anything. Microsoft Defender can't find it either. They both say all problems have been resolved. Is there a system scan from Microsoft that will check all components of Win 10?...
  4. Long running scripts

    in Windows 10 Customization
    Long running scripts: Keep getting message program wont respond due to long running scripts and locks up https://answers.microsoft.com/en-us/windows/forum/all/long-running-scripts/fd5b706d-50e8-405d-9921-f46d1eab1bef
  5. 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 ?...
  6. 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...
  7. 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...
  8. 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...
  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...