subinacl syntax error
Hi,Maybe someone has expierence with subinacl. I run this program and get error:subinacl /printer "Canon Bubble-JetBJ-10sx" /grand=darbuot\robert=fWARNING : /grand=darbuot\robert=f : Invalid option : Canon Bubble-Jet BJ-10sxUse :SubInacl /help to get the usage informationorSubInAcl /help syntax to understand SubInAcl syntax.Current object Canon Bubble-Jet BJ-10sx will not be processed Elapsed Time: 00 00:00:00Done: 0, Modified 0, Failed 0, Syntax errors 1Last Syntax Error:WARNING : /grand=darbuot\robert=f : Invalid option : Canon Bubble-Jet BJ-10sxThank you in advanceaurimas
June 3rd, 2009 10:53am

hi there, there is no "grand" key , please follow the below syntax SUBINACL /SERVICE \\MachineName\ServiceName /GRANT=[DomainName\]UserName[=Access] The user executing this command must have administrator rights in order for it to complete successfully. If "MachineName" is omitted, the local machine is assumed. If "DomainName" is omitted, the local machine is searched for the account. Although the syntax example indicates a user name, this will work for user groups as well. The values that 'Access' can take are: F : Full Control R : Generic Read W : Generic Write X : Generic eXecute L : Read controL Q : Query Service Configuration S : Query Service Status E : Enumerate Dependent Services C : Service Change Configuration T : Start Service O : Stop Service P : Pause/Continue Service I : Interrogate Service U : Service User-Defined Control Commands If 'Access' is omitted then 'F (Full Control)' is assumed. Subinacl supports similar functionality in relation to files, folders, and registry keys. The service name should be the "short name," as used for the service-specific key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName> If the service name contains spaces, the whole parameter should be enclosed in quotation marks. For example: "\\MachineName\Service Name With Spaces" sainath windows driver development.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2009 11:19am

i found a solution thanks
June 3rd, 2009 2:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics