Combined the Agents in the repo
This commit is contained in:
parent
15a457cbef
commit
e1859e5d73
465 changed files with 77467 additions and 0 deletions
13
Agent-Windows/Install/preuninstall_agent.bat
Normal file
13
Agent-Windows/Install/preuninstall_agent.bat
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@echo off
|
||||
set WD=%~dp0
|
||||
pushd %WD%
|
||||
net session >nul 2>&1
|
||||
if NOT %errorLevel% == 0 (
|
||||
echo Failure: Current permissions inadequate.
|
||||
echo[
|
||||
echo Run this script by using "Run as administrator" in the context menu.
|
||||
pause >nul
|
||||
exit
|
||||
)
|
||||
net stop ogp_agent
|
||||
sc delete ogp_agent
|
||||
Loading…
Add table
Add a link
Reference in a new issue