Question

I have used WMI to get the remote server disk space report using widows service. Im getting Access Denied exception, can any one suggest how to check the server access before it got exception.

I need to check the server access before getting the disk space. Please suggest.

Was it helpful?

Solution

To get around that I have added valid network accounts under User Accounts > Manage Your Network Passwords.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top