222 reputation
513
bio website
location United Kingdom
age 44
visits member for 5 years, 8 months
seen Nov 19 at 8:48

@KiwiCoder on twitter

I run socialcoder.org, a volunteering site for programmers.


Jul
21
comment What permissions for NETWORK SERVICE account to read share on Win 2003 computer?
@Tubs I tried the advice at support.microsoft.com/kb/289655 but still access denied.
Jul
21
comment What permissions for NETWORK SERVICE account to read share on Win 2003 computer?
Indeed, and I've tried adding domain\machine$ to both share and NTFS permissions... but still ACCESS DENIED.
Jul
21
comment What permissions for NETWORK SERVICE account to read share on Win 2003 computer?
Sure, and I may go that way, but in the meantime I have this problem with NETWORK SERVICE... I'd like to understand that problem and hopefully the solution before moving on to something else.
Jul
21
comment What permissions for NETWORK SERVICE account to read share on Win 2003 computer?
Helpful suggestions, thanks. Since Filemon.exe shows that the attempt is being made as NETWORK SERVICE I guess I'm safe assuming that LogonUser worked?
Jul
21
comment What permissions for NETWORK SERVICE account to read share on Win 2003 computer?
In fact this service runs most of its life as LOCAL SYSTEM, in order to perform various admin tasks that the domain user should not be able to. It only impersonates NETWORK SERVICE (via LogonUser API) in order to access network share.
Jul
1
comment Windows Service dependencies
In my scenario, Service A is a service written by me, Service B is sql server. Sql server knows nothing about my service (nor should it) and therefore has no sensitivity to shutting down while my service is running. Do you see?
Jul
1
comment Windows Service dependencies
Service B will only be aware of this registry key if it explicitly goes looking for it. Many services don't. It is not there for the benefit of services, it is there for the operating system, so it can work out which services to start first.
Jul
1
comment Windows Service dependencies
Service B might be unaware of Service A, so it cannot be expected to do anything. Windows, on the other hand, should but doesn't.