Quantcast
Viewing all articles
Browse latest Browse all 10386

PsTools : PSEXEC and SC.EXE problem

Author: rmetzger
Subject: PSEXEC and SC.EXE problem
Posted: 05 April 2013 at 3:22pm

Consider replacing:

  sc query HTTP | find "service does not exist"  && goto :skip_HTTP

with:

  sc query HTTP | find /i "service does not exist"
  if NOT ErrorLevel 1 goto skip_HTTP

does this problem still happen?

Ron Metzger

Viewing all articles
Browse latest Browse all 10386

Trending Articles