I would like to know how to create a batch file for the ASP.NET State Service, since I don’t want to login to a remote server, to go the administrative tools, services and later re-start the asp.net state service all the time . That’s a long way to navigate to another server. I want to have a shortcut batch file in my local pc, so if ASP.net State Service stops, I just click the shortcut and the asp.net state service will re-start without go to another server. Your assistance and help is appreciated.
Sample batch file like this:
Path remote server ?
net stop "ASP.NET State Service"
net start "ASP.NET State Service"
sc config ????? start= auto