1

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.

CokaKola99
  • 23
  • 1
  • 5
  • 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 Answers1

0

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.

CokaKola99
  • 23
  • 1
  • 5