Batch-Datei zum finden von Symantec End Point Protection
Ich Hoffe Ihr könnt mir weiterhelfen.
Ich möchte ein Batch-Datei schreiben, die herausfinden, ob auf einem Rechner Symantec Endpoint Protection installiert ist.
Ich habe dazu schon mal eine Datei geschrieben. Diese funkitonierte am Anfang noch nun hängt sie.
Ich möchte ein Batch-Datei schreiben, die herausfinden, ob auf einem Rechner Symantec Endpoint Protection installiert ist.
Ich habe dazu schon mal eine Datei geschrieben. Diese funkitonierte am Anfang noch nun hängt sie.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
set "OutFile=regedit.txt"
set "Find=find.txt"
set "software=Symantec Endpoint Protection"
set "R=HKEY_LOCAL_MACHINE\Software\Symantec\Symantec Endpoint Protection"
:start
regedit /e %OutFile% "%R%"
find "%software%" %OutFile% > %Find%
del %OutFile%
FOR /F "tokens=4* delims=\" %%i in (%find%) do set "inhalt=%%i"
if "%inhalt%"=="%software%" (
goto :end
) else (
goto :error
)
pause
:end
echo %software% wurde auf dem System gefunden.
del %Find%
pause
exit
:error
echo %software% wurde nicht auf dem System gefunden.
pause
exit
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 108268
Url: https://administrator.de/forum/batch-datei-zum-finden-von-symantec-end-point-protection-108268.html
Ausgedruckt am: 14.04.2025 um 14:04 Uhr