Hi Aditya - 

Do you have an $Env:COMSPEC environment variable?


On Monday, May 22, 2017 at 11:54:42 PM UTC-7, Aditya Gupta wrote:
>
> Hello Glen,
>
>
> 1. We are using windows server  2016 full desktop edition (please find 
> attachment Server_Information.jpg for more info).Could you please share the 
> your machine build number where it is working fine.
>
> 2. please find attached path variable output where you can see the puppet 
> path as well.
>
> 3. No i am using run puppet agent shortcut which is throwing the attached 
> error. 
>
>
> On Tuesday, May 23, 2017 at 12:18:56 AM UTC+5:30, [email protected] 
> wrote:
>>
>> 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/17925136-890a-43c3-9a3c-8ce5de41936f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to