24. 2. 2009

XP: Logon Automatically When Starting Windows

1. Click on the Start Menu
2. Click Run
3. In the open field type: control userpasswords2
4. Click OK
5. An User Accounts Dialog Box will open.
6. Select the Users Tab
7. Clear the Users must enter a user name and password to use this computercheckbox
8. Select the Advanced Tab
9. If it is not already, clear the Require users to press Ctrl-Alt-Del before logging oncheckbox
10. Press Apply
11. A dialog box will open asking you for user name and password
12. Input the information into these fields
13. Click OK
14. Click on Start Menu again
15. Open your Control Panel
16. Open User Accounts
17. Click Change the way users log on or off
18. If it is not already, clear checkbox for Use the Welcome Screen
19. If it is not already, clear checkbox for Use Fast User Switching
20. Click the Apply Options button
21. Reboot to see your results

12. 2. 2009

How to change the Windows Logon screen saver in Windows XP

http://support.microsoft.com/kb/314493

Change the Logon Screen Saver

To change the logon screen saver, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
  1. Click Start, and then click Run.
  2. In the Open box, type regedt32, and then click OK.
  3. In the Registry Editor window, locate the following registry key:
    HKEY_USERS\.DEFAULT\Control Panel\Desktop
  4. In the right pane, double-click SCRNSAVE.EXE.
  5. In the Edit String dialog box, type the name of the screen saver that you want in the Value data box, and then click OK. For example, if you want to use the Mystify screen saver as your logon screen saver, type ssmyst.scr.

    IMPORTANT: Make sure that you correctly specify the path to the screen saver. If the screen saver is located in %SystemRoot%\System32, the explicit path is not required.
  6. Click Exit on the File menu to quit Registry Editor.
The logon screen saver changes to the screen saver that you specified.

Change the Logon Screen Saver Timeout Time

You can also change the time that elapses before the logon screen saver starts. The default setting is 600 seconds (10 minutes).

To change the length of time before the logon screen saver starts, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
  1. Click Start, and then click Run.
  2. In the Open box, type regedt32, and then click OK.
  3. In the Registry Editor window, locate the following registry key:
    HKEY_USERS\.DEFAULT\Control Panel\Desktop
  4. In the right pane, double-click ScreenSaveTimeOut.
  5. In the Edit String dialog box that appears, type the number of seconds after which you want the screen saver to start in the Value data box, and then click OK. For example, if you want the screen saver to start after 5 minutes, type 300.
  6. Click Exit on the File menu to quit Registry Editor.
The length of time that elapses before the logon screen saver starts is changed to the value that you specified.

Turn Off the Logon Screen Saver

To turn off the logon screen saver, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ )

How to back up and restore the registry in Windows
  1. Click Start, and then click Run.
  2. In the Open box, type regedt32, and then click OK.
  3. In the Registry Editor window, locate the following registry key:
    HKEY_USERS\.DEFAULT\Control Panel\Desktop
  4. In the right pane, double-click ScreenSaveActive.
  5. In the Edit String dialog box, type 0 in the Value data box, and then click OK.
  6. Click Exit on the File menu to quit Registry Editor.
The logon screen saver is turned off.

9. 2. 2009

Create your own user-defined services Windows NT/2000/XP/2003

http://www.tacktech.com/display.cfm?ttid=197



The Windows NT/2000 Resource Kit provides two utilities that allow you to create a Windows user-defined service for Windows applications and some 16-bit applications (but not for batch files). 


Whats needed for Windows NT/2000:
Instrsrv.exe installs and removes system services from Windows NT/2000
Srvany.exe allows any Windows application to run as a service.
You can download both files here srvany.zip 


This zip includes three files. The two you need srvany.exe and instsrv.exe to install the services and also srvany.wri which documents everything you can do with the program.
Note: Make sure the Services Manager is closed while running the DOS commands. 


You will need to put these files in a directory called reskit At a MS-DOS command prompt(Start | Run | "cmd.exe"), type the following command:
\reskit\INSTSRV.EXE "Service Name" \reskit\SRVANY.EXE
This creates the service in the Services manager and the registry keys to setup what program to run.


Next open regedit.exe Start | run | regedit.exe
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.


Next navigate to this registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\service name


From the Edit menu, click Add Key and name it Parameters
Next from the Edit menu, click Add Value and type this information.
Value Name: Application
Data Type : REG_SZ
String : \


Now you can start your service from the Service Manager


With this same program you can remove the service also. Just run this command from command prompt.
\reskit\INSTSRV.EXE "Service Name" REMOVE

3. 2. 2009

Spusteni GPEDIT.MSC - Remote


gpedit.msc /gpcomputer:"catia66"

Disable the USB Autorun (CD and DVD drives)

  1. Click the Start button, then Run and enter "gpedit.msc" without the quotes
  2. Go to Computer Configuration -> Administrative Templates -> System
  3. Scroll down to "Turn off Autoplay" and double click on it
  4. Click on the "Enabled" radio button, then for "Turn off Autoplay on" select "All drives"
It also disables the autoplay for CD and DVD drives.

How To Disable Autorun (CD and DVD drives)

Registry :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\

"Autorun" the value is set to 1 by default, change it to zero

Reboot Windows