i don't think this way it will run in windows 7. You will get Warning : The service XYZ is configured as interactive whose support is being deprecated. The service may not function properly.
The problem is that this script tries to create and start an interactive service. Interactive
services will not function correctly due to Session 0 Isolation in Windows Vista/7.
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ
The problem is that this script tries to create and start an interactive service. Interactive
services will not function correctly due to Session 0 Isolation in Windows Vista/7.
You can try Following :
sc create SvcIntCMD binpath= "cmd /K start" type= own type= interact DisplayName= "InteractiveCMD"
sc start SvcIntCMD - rock_star 12 years ago