[ 
https://issues.apache.org/jira/browse/DAEMON-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183108#comment-17183108
 ] 

Mark Thomas commented on DAEMON-416:
------------------------------------

That is probably a permissions issue as the default user for the service has 
changed.

> prunsrv.exe adding special character while executing in windows 2019
> --------------------------------------------------------------------
>
>                 Key: DAEMON-416
>                 URL: https://issues.apache.org/jira/browse/DAEMON-416
>             Project: Commons Daemon
>          Issue Type: Bug
>         Environment: Windows 2019
>            Reporter: rajiv devaraj
>            Priority: Major
>
> While executing {{prunsrv.exe}} from an earlier version of Windows, (like 
> 2016), the below command was working. But upon introducing the same statement 
> for Windows 2019, it's not starting the service.
> I inspected the registry to check the path in which the process was created. 
> It seems to add a random special character before the path, which is why it's 
> not able to start.
> Observed Path:
>  
> {{C:\<SOME_PATH>/prunsrv.exe ^E//RS//<SOME_PROCESS>}}
> Here near {{//RS}}, {{^E}} is prepended and it's random special character is 
> generated for every execution.
> Expected Path:
>  
> {{C:\<SOME_PATH>/prunsrv.exe //RS//<SOME_PROCESS>}}
> This is the line which is responsible to initiate the process which is 
> triggered from {{.bat}} file:
>  
> {{"%SOMEPATH%/bin/prunsrv.exe" //IS//%SERVICE_NAME%}}
> I need some help on how to remove this special character before the process 
> is started.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to