Link to home
Start Free TrialLog in
Avatar of TSparks94
TSparks94

asked on

Print Spooler Service using a Active Directory Account to shutdown and restart.

I am new to the company I am currently working for and the old Systems Admin somehow or another got his user to be attached to the shutdown and restart of the print spooler service. We are doing this using task scheduler to prevent the printers from backing up. For some reason his user account is being accessed when this process occurs. I have looked at everything I can think of to try and find how his account is attached to the print spooler service. Any Ideas?
Avatar of Bird Dog
Bird Dog
Flag of Canada image

I don't know about sbs but usually the username is attached to the task which was created. Have you tried to create a new task for the spooler service reboot.
Avatar of TSparks94
TSparks94

ASKER

I have recreated the bat file my self and tried using mine instead and still get the same result. It uses my predecessors user account to stop and start the print spooler service. This is where my hair started getting pulled out...
when you look at the properties of that service do you have a log on tab
Yes, This is set to "Local System Account" and "Allow Service to Interact with Desktop" radio button is checked.
so when you run the bat file in command prompt it shows his user account instead of your or are you running it with the taskmanager?
I have used services, running the .bat file by it self and task scheduler all showing an event that his user was used to stop and start the print spooler service. If his account is disabled or locked it shows a failure audit in the events --> security.
what about changing from local system account to the this account option. Put your account info in you might have to reboot to change the setting. then if it is using your account try changing it back to the local system account again to see if it stays as your or uses his. I will keep looking around to see if I can see anything else. Oh and what I am saying is all done under the properties and log on tab.
I will try that when I can reboot this guy. This is our domain controller so I will have to do it after hours...If you find anything else or have any other ideas I am up for trying anything short of rebuilding this guy.

Thanks
Still showing up as the same user who stops and starts these services. I even set this to the domain admin user in the services. Any thing else I can check.
ASKER CERTIFIED SOLUTION
Avatar of Bird Dog
Bird Dog
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Looks like I might need to try both of these. I was thinking of starting over on all these printers we have anyway because we have some old ones. I think this is where the problem resides and I would like to do a cleanup and reinstall of these printers. I will have to coordinate that with the rest of my staff of course since they can live with out a printer..... I will get back on this early next week.
Sorry I have not had a chance to work on this. We had a production server loose a hard drive and have been fighting it for a while now. I will try to accomplish this hopefully this week.