ctsinger
February 19th, 2003, 08:44 AM
Hi,
I have written a windows service. It has several jobs, one of which is VERY simple : create a directory on a mapped network drive.
This service has been around for several months, running on Win2000. It runs fine on Win2000.
I am now migrating to WinXP (Pro). The service is unable to create the directory on the same network drive that Win2000 clients are able to.
By default, I have the service "log on" as LocalSystem.
As part of my experimentation, I have found that simply running the service as an .exe as user Administrator, it works just fine. However, if I tell the service to "log on" as Administrator (w/correct password), it will not create the directory!
I am assuming that some default permissions are different in the WinXP security model, but I am at a loss to figure out which is blocking me.
Any suggestions would be appreciated!
Thanks,
Charlie
I have written a windows service. It has several jobs, one of which is VERY simple : create a directory on a mapped network drive.
This service has been around for several months, running on Win2000. It runs fine on Win2000.
I am now migrating to WinXP (Pro). The service is unable to create the directory on the same network drive that Win2000 clients are able to.
By default, I have the service "log on" as LocalSystem.
As part of my experimentation, I have found that simply running the service as an .exe as user Administrator, it works just fine. However, if I tell the service to "log on" as Administrator (w/correct password), it will not create the directory!
I am assuming that some default permissions are different in the WinXP security model, but I am at a loss to figure out which is blocking me.
Any suggestions would be appreciated!
Thanks,
Charlie