Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to get the Task Scheduler to run a vbscript that sets default printers for individual users on a Server 2008 R2 RDS machine.

Unfortunately my only success so far is getting any logon to trigger the script for my own user. Does anyone know how to make the scheduler triger the script for each user as they log in?

Thanks.

share|improve this question
    
Seems like the kind of thing you'd want to do with GPOs and/or logon scripts... why are you using VB? And in any event, what account are you running the script as? If you're running it as your user, that would explain why it only works for your user. –  HopelessN00b Jun 18 '12 at 20:20

1 Answer 1

up vote 0 down vote accepted

HopelessN00b was right that the script was only running for my user because of the task using my credentials. I was unaware that I could have the script run as a user group but once I figured that out I changed the running user to the Domain Users group and it worked for any user logging in. Although this problem was solved the project was scrapped in favor of a different solution. Thank you for your help though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.