ash
July 19th, 1999, 01:13 AM
Hi,
I am writing an NT service which needs to access the temporary internet files of the user currently logged in. I run the service as a system service since it has to start automatically for all users. In order to enumerate the cache I use the Wininet API's FindFirstURLCacheEntry() and FindNextURLCacheEntry(). But if I run it as a system service it is not able to access the cache (temporary internet files folder) of the users. How do I solve this problem? I cannot run it as a user service as it would become exclusive to that user. I am able to retrieve the user name of the user logged on currently from the registry. Is it possible to start another service under this user name from this system service? Kindly help me! Thanks in advance.
Ashwin
I am writing an NT service which needs to access the temporary internet files of the user currently logged in. I run the service as a system service since it has to start automatically for all users. In order to enumerate the cache I use the Wininet API's FindFirstURLCacheEntry() and FindNextURLCacheEntry(). But if I run it as a system service it is not able to access the cache (temporary internet files folder) of the users. How do I solve this problem? I cannot run it as a user service as it would become exclusive to that user. I am able to retrieve the user name of the user logged on currently from the registry. Is it possible to start another service under this user name from this system service? Kindly help me! Thanks in advance.
Ashwin