Initial Windows agent repository
This commit is contained in:
commit
a0db0c2e5b
10589 changed files with 3844063 additions and 0 deletions
13
OGP64/preuninstall_agent.bat
Normal file
13
OGP64/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