Posts Tagged ‘service’
We have some Windows services that need to access network shares, and even though we have net used, those resources are still unavailable. It appears this is because our services are running as LocalSystem.
How to check the connections available to LocalSystem
1. Open command prompt as LocalSystem
Note: You can use at.exe only when the Schedule service is running, to find out:
sc query schedule
2. List connections
You will see the set of connections available.
Note this set is different to the list generated by ordinary command prompt (your account).
How to add connection for LocalSystem
Don’t know, that method is not very automatable.