batch file problem

J

Jim Carney

i am trying to shut down the spool service from a batch
file. the batch file works, but only when the user has
admin privelages. when i put it in the local pc group
policy it won't run. what am i missing? what can allow
the "user" to run the batch file automatically.
thank you
 
W

Walter Schulz

i am trying to shut down the spool service from a batch
file. the batch file works, but only when the user has
admin privelages. when i put it in the local pc group
policy it won't run. what am i missing? what can allow
the "user" to run the batch file automatically.

It's not very clear to me what you are trying to do.
Please post the workflow of your operation in mind.

Ciao, Walter
 
N

NuT CrAcKeR

make thier account a member of the "print operators" group on thier machine.

NuTs
 
J

Jim Carney

is the print operator's group at the server level? i don't
see anything like that on the local pc?

also, i now see a "batch" group on the local pc, does that
run batch files or is the name on conincidence?
thank you.
 
R

Ritchie

Jim Carney said:
i am trying to shut down the spool service from a batch
file. the batch file works, but only when the user has
admin privelages. when i put it in the local pc group
policy it won't run. what am i missing? what can allow
the "user" to run the batch file automatically.
thank you

http://setacl.sourceforge.net/
 
W

Walter Schulz

and the other one starts it.....however they don't work
for a normal users. how can i make it work without admin
privelages.

For such issues we use our software distribution and deployment tool.
It will create an executable which is able to communicate with an
agent on the local machine.
Sorry, but I think you will have to look for a solution based on
runas.
By the way: Such a procedure doesn't cure the problem at all but is
just a workaround for an error in the client configuration or in the
software you are using. There is no way to stop the client to act like
this?

Ciao, Walter
 
J

Jerold Schulman

i am trying to shut down the spool service from a batch
file. the batch file works, but only when the user has
admin privelages. when i put it in the local pc group
policy it won't run. what am i missing? what can allow
the "user" to run the batch file automatically.
thank you

See tip 4673 in the 'Tips & Tricks' at http://www.jsiinc.com


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
J

Jim Carney

how do you "run as" a batch file? sorry for the simplicity
of the question, i've just never really used the runas
feature at all.

you are correct that this won't really cure my problem,
although it will cure the symptoms (if it wors as hoped).
part of the problem is there are several reasons this
error can occure, so i am not even certain at this point
if the printing problem is the one i have happening. but
if i can get it to work then i will know. once i have the
batch file firing, if it does not work then i know its not
the print version of the problem and i can move on to the
next one. this is one of the most frustrating issues i;ve
ever run into. its very hard to diagnose and troubleshoot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top