This small tips will help to starting your application when Windows boots using various ways.
  1. Add a string entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Run. The entry's name should be the name of your application (ex: MyApp). Its value must be the short path to your application (ex. C:\Windows\MyApp.exe).
  2. Display Modal Message Box on Window's Startup.
    Windows can display a modal dialog box when it boots. You can specify the dialog’s caption and text. Add or change:
    HKLM\Software\Microsoft\Windows\CurrentVersion\WinLogon
    LegalNoticeCaption = "enter the caption"
    LegalNoticeText = "enter the text"

    or

    HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon
    LegalNoticeCaption = "enter the caption"
    LegalNoticeText = "enter the text"


Related tips on How to add your application to Windows Startup from codeproject.com

Suppressing Window's Start Up Logo
To suppress the animated Microsoft logo bitmap edit C:\MSDOS.SYS using Notepad.
Be sure you can view hidden and system files in Explorer to see this file.
You can also enter C: then ATTRIB -R -S -H MSDOS.SYS at a DOS prompt.
Once you edit the file, find the [Options] line and insert logo=0 as the next line.
If you see a line that says logo=1, delete it. then save the file.
The logo will not display the next time you boot up.

0 komentar:

 
Top