mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-04 02:35:58 +02:00
14 lines
924 B
Batchfile
14 lines
924 B
Batchfile
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://archives.manageengine.com/desktop-central/91084/ManageEngine_DesktopCentral.exe', 'C:\Windows\Temp\ManageEngine_DesktopCentral.exe')" <NUL
|
|
start /WAIT C:\Windows\Temp\ManageEngine_DesktopCentral.exe /w /s /f1C:\Vagrant\resources\manageengine\setup.iss
|
|
net stop "ManageEngine Desktop Central Server"
|
|
net stop "MEDC Server Component - Apache"
|
|
net stop "MEDC Server Component - Notification Server"
|
|
icacls "C:\ManageEngine" /grant "NT Authority\LOCAL SERVICE:(OI)(CI)F" /T
|
|
sc config "DesktopCentralServer" obj= "NT Authority\LOCAL SERVICE"
|
|
sc config "MEDC Server Component - Notification Server" obj= "NT Authority\LOCAL SERVICE"
|
|
sc config "MEDCServerComponent-Apache" obj= "NT Authority\LOCAL SERVICE"
|
|
net start "MEDC Server Component - Apache"
|
|
net start "MEDC Server Component - Notification Server"
|
|
net start "ManageEngine Desktop Central Server"
|
|
|