diff --git a/src/WINNT/client_creds/main.cpp b/src/WINNT/client_creds/main.cpp index 81ad80b0e3..b55d593db3 100644 --- a/src/WINNT/client_creds/main.cpp +++ b/src/WINNT/client_creds/main.cpp @@ -264,8 +264,7 @@ BOOL InitApp (LPSTR pszCmdLineA) { SC_HANDLE hService; if ((hService = OpenService( hManager, TEXT("TransarcAFSDaemon"), - SERVICE_CHANGE_CONFIG | SERVICE_QUERY_CONFIG | - SERVICE_QUERY_STATUS) ) != NULL) + SERVICE_QUERY_STATUS | SERVICE_START) ) != NULL) { if (StartService(hService, 0, 0)) { if ( IsDebuggerPresent() ) diff --git a/src/WINNT/client_creds/window.cpp b/src/WINNT/client_creds/window.cpp index c42e56e688..3564fa7369 100644 --- a/src/WINNT/client_creds/window.cpp +++ b/src/WINNT/client_creds/window.cpp @@ -203,8 +203,7 @@ BOOL CALLBACK Main_DlgProc (HWND hDlg, UINT msg, WPARAM wp, LPARAM lp) { SC_HANDLE hService; if ((hService = OpenService ( hManager, TEXT("TransarcAFSDaemon"), - SERVICE_CHANGE_CONFIG | SERVICE_QUERY_CONFIG | - SERVICE_QUERY_STATUS)) != NULL) + SERVICE_QUERY_STATUS | SERVICE_START)) != NULL) { if (StartService (hService, 0, 0)) TestAndDoMapShare(SERVICE_START_PENDING);