Hi Aditya, I'm having some trouble trying to reproduce your issue and was wondering if you could answer some more questions:
1. What version of Server 2016? e.g. 2016 Server Core or full desktop 2. Would you also be able to paste the PATH environment variable e.g. in PowerShell "$ENV:Path" 3. I assume you're just clicking on the "Start Command Prompt with Puppet" shortcut. is this correct? Thanks, Glenn. On Friday, May 19, 2017 at 12:03:14 AM UTC-7, Aditya Gupta wrote: > > Hello Ethan, > > Thanks for the response. > > Please find below output : > > PSChildName Version Release Product > ----------- ------- ------- ------- > Client 4.6.01586 394802 4.6.2 > Full 4.6.01586 394802 4.6.2 > Client 4.0.0.0 > > > Thanks, > Aditya > > On Monday, May 15, 2017 at 10:34:05 PM UTC+5:30, Ethan Brown wrote: >> >> Aditya - >> >> >> Could you run the following PowerShell script to determine which versions >> of the .NET runtime are installed on your Server 2016 instance? >> >> >> https://gist.github.com/Iristyle/2d999d71ed47a939d1bbec8213eafdcc >> >> >> Thanks! >> >> >> On Monday, May 15, 2017 at 2:42:21 AM UTC-7, Aditya Gupta wrote: >>> >>> Dear All, >>> >>> When i am trying to run puppet agent(1.10.1) using windows 2016 server >>> shortcut which invoke below command: >>> >>> "C:\Program Files\Puppet Labs\Puppet\bin\run_puppet_interactive.bat" >>> >>> Content of "run_puppet_interactive.bat": >>> >>> @echo Running puppet on demand ... >>> @echo off >>> SETLOCAL >>> call "%~dp0environment.bat" %0 %* >>> @elevate.exe "%~dp0puppet_interactive.bat" >>> >>> >>> But when last line executed it through exception: >>> >>> *Unhandled Exception: System.IO.FileLoadException: A procedure imported >>> by 'elevate.exe' could not be loaded.* >>> >>> Could you please suggest the solution for this and do we have fix or PR >>> related to this issue. >>> >>> Thanks, >>> Aditya >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/2b90d5a5-2414-4501-81f1-2db35ce90434%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
