Your technology certification is waiting. Enroll in Cloud Class ®
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection"
if %errorlevel%==1 (goto Install) else (goto End)
REM If errorlevel returns a value of 1, it means the key is not present, thus the program is not installed. So install it.
ECHO - Install Required
EventCreate /l Application /so SYMANTECPUSH /t Information /id 1000 /d "Symantec Push script is starting installation"
REM Check OS edition
IF defined ProgramFiles(x86) (
ECHO - 64bit OS Detected
) ELSE (
ECHO - 32bit OS Detected
ECHO - Finished
EventCreate /l Application /so SYMANTECPUSH /t Information /id 1000 /d "Symantec Push script has completed"
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.