I want to run a program every time windows starts with a certain user's credentials .
If i did that in bat file ,it will prompt for the user's password.How can i automate the insertion of password?

Hello,

You can run a login script for a specific user by adding it to their profile. Go to Control Panel, Administrative tools, Local Users and Groups, Users. Then right click on the user and select Properties and then the Profile tab.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.