unable to connect to windows server 2019 & getting the error as {"The request is not supported. (Exception from HRESULT: 0x80070032)"}
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
new TaskService(server, userName, domain, pwd)
In that above code block if we specify a windows server 2019 version --> then the connection will never work.
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error : {"The request is not supported. (Exception from HRESULT: 0x80070032)"}
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Host Windows version (the one running the code): windows server 2019
- Library version: 2.11.0
- Remote Windows version (if applicable): 2019 windows server
Additional context Add any other context about the problem here.
Please see the wiki page https://github.com/dahall/TaskScheduler/wiki/TaskSecurity for some troubleshooting tips. I have tested the library with all Windows Servers releases through 2025.