Automatic action on every windows start-up using a .bat file (Registry method)
Disclaimer : This post is solely for educational purposes. Any outcome of misapplication is thus not my responsibility.
Here, we'll add some keys to the registry using a batch file. Make sure you follow these steps carefully since editing the registry wrongly has its consequences.
Scared? use another method
Brave enough? let's go!!!
Copy the bolded text below into notepad and save it with a .bat extension.
@Echo off
Reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v winlogon /t REG_SZ /d /f
The should be replaced with the path of the file to execute on system start. Run the batch file and you're done.
Here, we'll add some keys to the registry using a batch file. Make sure you follow these steps carefully since editing the registry wrongly has its consequences.
Scared? use another method
Brave enough? let's go!!!
Copy the bolded text below into notepad and save it with a .bat extension.
@Echo off
Reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v winlogon /t REG_SZ /d
The
Comments
Post a Comment
Add a comment or ask a question