locked
Error while opening Nport software in administrator mode using runas command RRS feed

  • Question

  • I want to open "Nport Administrator" software in administrator mode in standard user using following command:-

    C:\Windows\System32\runas.exe /user:<ComputerName>\administrator /savecred "C:\Program Files\NPortAdminSuite\bin\npadmer.exe"

    But error appear "fail to load conparam.dll"

    Thursday, July 9, 2020 10:16 AM

All replies

  • Hello,
    Thank you for posting in our TechNet forum.

    Do you have the password of local Administrator?
    I try your command, it prompts I need to enter password for local Administator, but even though I type it (the password is not displaying), it will say the following error message.

    And then I add the password in the command:
    runas.exe /user:Win-1809\administrator /password:1 /savecred "C:\temp\npadm_setup_ver1.17_build_11072613.exe"

    It still prompts I need to enter password for local Administator, but even though I type it (the password is not displaying), it will say the following error message.




    And if I double click it and type the local administrator credential, I can open it.

    Or if I right click it and select run as administrator, and type the local administrator credential, I can open it.

    So I guess, we need to open it with local administrator credential.



    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, July 10, 2020 9:27 AM
  • Your Question:- Do you have the password of local Administrator?

    Answer:- Yes i have administrator password. 

    Software work normally using right click -> run as administrator. But using runas.exe command it gives "fail to load conparam.dll" error.

    My problem:-

    I am administrator user for computer. I don't want to give administrator password to my standard users.

    I want to run Nport software in administrator mode for standard user. So I want to write script using runas.exe. So that it can save credential. But runas.exe create mentioned error. I have tried same thing with windows 10, but same error appear.

    Friday, July 10, 2020 10:51 AM
  • Hi,
    Where do you download the npadmer.exe?
    What is the version of npadmer.exe?


    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, July 13, 2020 4:51 AM
  • Your question- Where do you download the npadmer.exe?

    My Answer- I have downloaded software from Moxa support website.

    Your question- What is the version of npadmer.exe?

    My Answer- npadmer.exe version is V1.20.


    Monday, July 13, 2020 6:31 AM
  • Hi,

    Would you please provide the download link to download npadmer.exe V1.20?

    Do you install npadmer.exe V1.20 on domain-joined machine or machine in the workgroup?

    And I will test it in my lab. Thank you for your understand and time.

    This "Windows 10 General" Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details. 


    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    "Windows 10 General" forum will be migrating to a new home on Microsoft Q&A!

    We invite you to post new questions in the "Windows 10 General"  forum's new home on Microsoft Q&A!

    For more information, please refer to the sticky post.

    Thursday, July 16, 2020 8:22 AM
  •  
    Hi,
    I am just writing to see if this question has any update. If anything is unclear, please feel free to let us know.
    Thanks for your time and have a nice day!


    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    "Windows 10 General" forum will be migrating to a new home on Microsoft Q&A!

    We invite you to post new questions in the "Windows 10 General"  forum's new home on Microsoft Q&A!

    For more information, please refer to the sticky post.
    Monday, July 20, 2020 4:03 AM
  • Hi,
    I just want to confirm the current situations.
     
    Please feel free to let us know if you need further assistance.
     
    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    "Windows 10 General" forum will be migrating to a new home on Microsoft Q&A!

    We invite you to post new questions in the "Windows 10 General"  forum's new home on Microsoft Q&A!

    For more information, please refer to the sticky post.


    Wednesday, July 22, 2020 5:27 AM