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

I have used the following article to create N local users:

How do I set some batch file ,that I have wrote ,to be executed right when each user logs-in?

(Include it in the statup functions to be executed).


1 solution

Read this article[^], it has the information on where to put the batch files and how to assigned it to a user account.

Note, it does not show how to do it through code but how to use group policy to do it.
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