You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I use the changeServiceConfig method in the ServiceControlManagerService class, I get an error when I enter the serviceStartName and password parameters. It works when I leave the password parameter blank.
Exception
Exception in thread "main" java.lang.RuntimeException: com.rapid7.client.dcerpc.RPCException: RChangeServiceConfigW returned error code: 0x00000057 (ERROR_INVALID_PARAMETER)
at com.rpc.Main.changeService(Main.java:257)
at com.rpc.Main.main(Main.java:51)
Caused by: com.rapid7.client.dcerpc.RPCException: RChangeServiceConfigW returned error code: 0x00000057 (ERROR_INVALID_PARAMETER)
at com.rapid7.client.dcerpc.service.Service.callExpect(Service.java:65)
at com.rapid7.client.dcerpc.service.Service.callExpectSuccess(Service.java:51)
at com.rapid7.client.dcerpc.msvcctl.ServiceControlManagerService.changeServiceConfig(ServiceControlManagerService.java:127)
at com.rpc.Main.changeService(Main.java:255)
**Environment
Operating System: Windows Server 2019
Java Version: 17
Library Version: 0.12.1
The text was updated successfully, but these errors were encountered:
Describe the bug
When I use the changeServiceConfig method in the ServiceControlManagerService class, I get an error when I enter the serviceStartName and password parameters. It works when I leave the password parameter blank.
Code
Exception
Exception in thread "main" java.lang.RuntimeException: com.rapid7.client.dcerpc.RPCException: RChangeServiceConfigW returned error code: 0x00000057 (ERROR_INVALID_PARAMETER)
at com.rpc.Main.changeService(Main.java:257)
at com.rpc.Main.main(Main.java:51)
Caused by: com.rapid7.client.dcerpc.RPCException: RChangeServiceConfigW returned error code: 0x00000057 (ERROR_INVALID_PARAMETER)
at com.rapid7.client.dcerpc.service.Service.callExpect(Service.java:65)
at com.rapid7.client.dcerpc.service.Service.callExpectSuccess(Service.java:51)
at com.rapid7.client.dcerpc.msvcctl.ServiceControlManagerService.changeServiceConfig(ServiceControlManagerService.java:127)
at com.rpc.Main.changeService(Main.java:255)
**Environment
The text was updated successfully, but these errors were encountered: