You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
436 B

@ECHO OFF
rem Some information about the service
regedit /S register.reg
rem Stop and unregister existing service
sc stop rhcsproxy
sc delete rhcsproxy
rem Register the service
sc create rhcsproxy start= demand type= own error= normal binPath= "C:\AEP\rhcsproxy.exe -s" DisplayName= "Red Hat Auto Enrollment Proxy"
rem Event log configuration
regedit /S service.reg
rem AEP Configuration
regedit /S config_aep.reg