Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: wntSvcCfgSet invalid parameter
;Win32 service process that can interact with the desktop. wntSvcCfgSet("", "24 Hour_EXE", 0, 0, 256)
;Win32 service process that can interact with the desktop. (256) ;Win32 service that runs in its own process. (16) wntSvcCfgSet("", "24 Hour_EXE", 0, 0, 16|256) OR ;Win32 service process that can interact with the desktop. (256) ;Win32 service that shares a process with other services. (32) wntSvcCfgSet("", "24 Hour_EXE", 0, 0, 32|256)
ERROR: WIL Extender Error 531: Invalid ParameterCODE:
nordata="DOMAIN\LOGONID|PASSWORD" wntSvcCfgSet("", "Norton Program Scheduler", 0, 7, nordata)The logon id does have service logon rights.
You should use wntSvcCfgSet with request #0, to change the ServiceType to either 16 or 32 (but not 256). You can use wntSvcCfgSet to find out what it's currently set to.
Go to Services and manually unCheck the "Allow service to interact with desktop", stop/start the service, then execute:
AddExtender("wwwnt34I.dll") nordata="Domain\LogonID|Password" if wntSvcStatus("", "Norton Program Scheduler", 0, 2)>1 then wntSvcControl("", "Norton Program Scheduler", 0, 1) ;stop the service wntSvcCfgSet("", "Norton Program Scheduler", 0, 0, 32) ;32=shared process, 16=own process wntSvcCfgSet("", "Norton Program Scheduler", 0, 7, nordata) ;set ID|PW wntSvcCfgSet("", "Norton Program Scheduler", 0, 1, 2) ;set to start-up automatically wntSvcStart("", "Norton Program Scheduler", 0, "", "") ;start the service
Article ID: W14117
Filename: wntSvcCfgSet invalid parameter.txt
File Created: 2001:03:01:14:22:40
Last Updated: 2001:03:01:14:22:40