First of all I'm using Vista as my OS. Second, I'm using Google Chrome as my browser, and a while ago it started removing my exceptions list in the advanced connection settings. Every time I add an exception, it gets removed a while after that. So I understood that I should write a batch file to open a registry key that I have created to initialize my proxy settings. The problem is, I always put my computer to sleep. and I want it to开发者_StackOverflow社区 automatically get re-initialized each time I log in. BTW, I don't think I ACTUALLY log in when I come back from sleep mode. I'm guessing it's like locking the account.
So first, if you have a better solution to the exception problem. Second, how can I write the batch file to run the registry key each time I come back from sleep
Much appreciated.
to running something on user login, use the scheduled task, just create a task with this option and there run your script.
To automatically add you registry settings, just first save them on a file from the regedit program (find them, right click, and then save), later just add this file to the registery again by using a bat file that just add it using the regedit.
精彩评论