Dejulia489 / WindowsServiceManager

https://marketplace.visualstudio.com/items?itemName=MDSolutions.WindowsServiceManagerWindowsServiceManager
MIT License
11 stars 9 forks source link

Nothing happening #56

Closed dampee closed 3 years ago

dampee commented 3 years ago

What could be the reason if nothing happens? Would it be possible to add a little more logging so you know what is happening?

2021-02-01T13:39:29.2933047Z ##[section]Starting: Deploy Windows Service
2021-02-01T13:39:29.3444280Z ==============================================================================
2021-02-01T13:39:29.3444403Z Task         : Windows Service Manager
2021-02-01T13:39:29.3444461Z Description  : Deploys a Windows Service to an Agent or a Deployment Group Target using WinRM.
2021-02-01T13:39:29.3444531Z Version      : 4.5.0
2021-02-01T13:39:29.3444588Z Author       : MDSolutions
2021-02-01T13:39:29.3444712Z Help         : [More Information](https://github.com/Dejulia489/WindowsServiceManager)
2021-02-01T13:39:29.3444844Z ==============================================================================
2021-02-01T13:39:29.8787406Z ##[section]Finishing: Deploy Windows Service
dampee commented 3 years ago

Found the answer. McAfee is blocking this with a message in the eventlog:

EventID=18054
ExP:Illegal API Use Blocked an attempt to exploit C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0\POWERSHELL.EXE, which targeted the AtlComPtrAssign API.