mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-02 17:55:46 +02:00
Notification Server fails to be configured for Local Service and the auto start settings where lost too. Fixed now.
14 lines
990 B
Batchfile
14 lines
990 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" type= own start= auto
|
|
sc config "MEDC Server Component - Notification Server" obj= "NT Authority\LOCAL SERVICE" type= own start= auto
|
|
sc config "MEDCServerComponent-Apache" obj= "NT Authority\LOCAL SERVICE" type= own start= auto
|
|
net start "MEDC Server Component - Apache"
|
|
net start "MEDC Server Component - Notification Server"
|
|
net start "ManageEngine Desktop Central Server"
|
|
|