G
Guest
Hello,
I created a Windows Service in VB.NET, which is to purge files periodically
in the local system and also in the shared network drive. Here is my problem:
1. If I set the “Account†property of ServiceProcessInstaller to “Local
Service†or to “NetWorkServiceâ€, it won’t work for both local and network
shared directories.
(I use log on as this account “NT AUTHORITY\LocalService†for “Local
Service†or “NT AUTHORITY\NetWorkService†for “NetWorkService†in the
property window of Service)
2. If I set the “Account†Property of “ServiceProcessInstaller†to “Local
Systemâ€, then it works in the local directories, but it does not work in the
shared directories on the network drive.
(I switch to log on as Local system account in the property window of
Service).
Please help. Thanks in advance.
Miriam
I created a Windows Service in VB.NET, which is to purge files periodically
in the local system and also in the shared network drive. Here is my problem:
1. If I set the “Account†property of ServiceProcessInstaller to “Local
Service†or to “NetWorkServiceâ€, it won’t work for both local and network
shared directories.
(I use log on as this account “NT AUTHORITY\LocalService†for “Local
Service†or “NT AUTHORITY\NetWorkService†for “NetWorkService†in the
property window of Service)
2. If I set the “Account†Property of “ServiceProcessInstaller†to “Local
Systemâ€, then it works in the local directories, but it does not work in the
shared directories on the network drive.
(I switch to log on as Local system account in the property window of
Service).
Please help. Thanks in advance.
Miriam