Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I connect remotely with rdp to a local user on WinServer2008.

I have a batch file a.bat which I want to be run when the local user logon.

-How do I configure that?

-can I configure that for a whole group of local users?



Thanks
Posted

1 solution

use gpedit.msc.

Local Computer Policy -> User Configuration ->Windows Settings->Scripts

This will be for all users. If you want to vary that according to groups, you'll have to test for group membership in your script.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900