SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 747 | Next

David A. Karp

"Windows Vista Annoyances: Tips, Secrets, and Hacks"

Essentially, you create an ordinary
WSH script and then take steps to have it executed when Windows
starts. There are a few different ways to do this:
Use the Startup folder. Put a shortcut to the script in your Startup folder
(usually C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup). This is by far the easiest to implement, but also
the most fragile, because it??™s equally easy to disable.
If there is more than one user account on a computer, and
you want the script to be executed regardless of the currently
logged-in user, you can use the ???All Users??? Startup
folder (usually C:\Users\All Users\Microsoft\Windows\Start
Menu\Programs\Startup) instead.
Object References | 545
Scripting and
Automation
Use the Registry. Open the Registry Editor (discussed in Chapter 3) and
expand the branches to HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run. Select New and then String Value from
the Edit menu, and type startup script. Double-click the new Startup
Script value, type the name of your script (e.g., c:\scripts\myscript.
vbs), and click OK. Although it??™s a bit harder to implement, this setup is
a little more buried, and thus more difficult for unwitting users to mess
up than items placed in the Startup folder.
Many viruses and spyware install themselves in this Registry
key precisely because it??™s so transparent. See Chapter 6 for
tips on how to remove malware from this key.


Pages:
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6