Forum Discussion

sergen's avatar
sergen
New Contributor
2 years ago

command prompt issue

we are using logmein central.

throur the logmein client when you click on the home icon then go through computer management and clicking on command prompt you receive the following error:

error title: script error

error header: an error has occured in the script on this page.

Line: 1136

Char: 59

Error: the operation attempted to access data outside the valid range

code: 0

URL: https://console-xlyfethvvn.lmi-app22-02.logmein.com/htem/htem_all.js

Do you want to continue running scripts on this page? yes or no. does not make any difference what option you select.

 

however, if we go via the loginme website and selecting command prompt it works with no issues. Does anyone have any suggestion on how to fix this?

 

  • Hi sergen JDman,

     

    It appears that Windows 10 /11/Server 2019 all automatically default to using powershell.exe over cmd.exe. We are researching options to force using the command prompt over powershell and we will update you here as progress is made. 

     

    For now, the workarounds are:

    • connect to the computer and launch the command prompt manually and run your script
    • convert your existing script to a powershell script 

     

10 Replies

  • navid1970's avatar
    navid1970
    New Contributor
    7 days ago

    I have been battling this problem for over a year . . today I had time to work on it . . and I made a new profile for myself and it works now.  You can log into your PC as another user, and it works, so it's some issue with certain profiles . . a new one will fix it.

  • KateG's avatar
    KateG
    GoTo Manager
    2 months ago

    Hi saadp

    I'm checking to see if there were modifications made, with the holiday, it may take a bit longer than usual for a response.

    The issue was with Windows 10 /11/Server 2019 - can you confirm that is what you are using? 

  • saadp's avatar
    saadp
    New Member
    2 months ago

    Hello Glenn, I've also encountered this issue with the LogMeIn client, and I'm also using LMI Central. Do you know if there's a solution for this?

  • JDman's avatar
    JDman
    New Contributor
    2 years ago

    Thanks for your attention 🙂

  • GlennD's avatar
    GlennD
    GoTo Manager
    2 years ago

    Hi sergen JDman,

     

    It appears that Windows 10 /11/Server 2019 all automatically default to using powershell.exe over cmd.exe. We are researching options to force using the command prompt over powershell and we will update you here as progress is made. 

     

    For now, the workarounds are:

    • connect to the computer and launch the command prompt manually and run your script
    • convert your existing script to a powershell script 

     

  • sergen's avatar
    sergen
    New Contributor
    2 years ago

    Hi Kate,

     

    no what you are suggesting does not work either. command prompt through loginmein client or clicking on the home button then going to command prompt either one does not work.

  • sergen's avatar
    sergen
    New Contributor
    2 years ago
    I have the same issue. I formatted the pc and re-install windows from scratch this fixed the issue for a short while then the issue came back.
  • Shrek_in_AZ's avatar
    Shrek_in_AZ
    New Contributor
    2 years ago

    i am having same issue both on the client and home screen and can only access command prompt via log me in web site which does not allow for the running of my automated scripts i am using client version1.3.5442

  • KateG's avatar
    KateG
    GoTo Manager
    2 years ago

    Hi sergen welcome to the GoTo Community.  

     

    Can you try using the command prompt icon in the client app instead of going through Home > Dashboard > Computer Management > Command prompt

     

    I also recommend using the latest version (1.3.5398) if you are not.