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

8. 1. 2009

Zkratky - Acronyms

LOL (Laughing Out Loud - směji se, až se za břicho popadám)
ROFL (Rolling On Floor Laughing - smíchy se válím po zemi)
AFAIK (As Far As I Know - pokud se nepletu, pokud je mi známo)
IMHO (In My Humble Opinion - dle mého skromného názoru)
IMAO (In My Arogant Opinion - dle mého arogantního názoru)
BTW (By The Way - mimochodem)
ASAP (As Soon As Possible - co nejdříve to půjde, jakmile to bude možné)
4U (For You - pro tebe)
BFU (Bloody Fucking User - eufemicky běžný franta uživatel)
BRB (Be Right Back - hned jsem tu, buď brzy zpět)
CU/CUS (See You/See You Soon - na viděnou/brzy na viděnou)
GN (Good Night - dobrou noc)
OMG (Oh My God - pane Bože, proboha)
OT (Off Topic - nepatří k věci, příspěvek mimo mísu)
PLS (Please - prosím)
THX (Thanks - děkuji)
WTF (What The Fuck - co to sakra je?)

akronym anglický význam český překlad
2U To You tobě
4E For You pro tebe
4YEO For Your Eyes Only tajné, soukromé, jen pro tvé oči
2L8 Too Late pozdě, příliš pozdě
AFAIK As Far As I Know pokud vím, pokud se nepletu
AKA Also Knows As také známý jako
AFK Away From Keyboard nejsem tu
ASAP As Soon As Possible jakmile to bude možné, co nejdříve
AYOR At Your Own Risk na vlastní riziko
BB Bye Bye čau čau
BBL/S Be Back Later/Soon vrátím se později/brzy
BFU Bloody Fucking User běžný franta uživatel (eufemicky)
BRB Be Right Back budu hned zpátky/buď hned zpět
BTW By The Way mimochodem
CU, CUS See You ahoj (uvidíme se)
CU2 See You Too taky ahoj
CUS See You Soon brzy na viděnou
DND Do Not Disturb nerušit, nerušte
DIY Do It Yourself udělej si dám
FAQ Frequently Asked Questions často kladené dotazy
FE For Example například
FCI Free Cool In frikulín (osoba co je free-cool-in - zpravidla hanlivé)
FYI For Your Information pro tvou informaci
GR8 Great paráda, super, dobrý
GL Good Luck hodně zdaru
GN Good Night dobrou noc
GNSD Good Night, Sweet Dreams dobrou noc, sladké sny
GOK God Only Knows to ví jen Bůh
GIYF Google Is Your Friend Google je tvůj kamarád
GTB / GS Go Too Bed / Go sleep jdu (jdi) do postele, jdu (jdi) spát
HF Have Fun bav se, příjemnou zábavu přeji
HTH Hope This Helps doufám, že to pomůže
IANAL I´m Not A Lawyer nejsem právník
IC I See aha, chápu, rozumím
IDK I Don´t Know nevím, neznám
IDGI I Don´t Get It nechápu to, nerozumím
IMAO In My Arogant Opinion dle mého arogantního názoru
IMHO In My Humble Opinion dle mého skromného názoru
IOW In Other Words jinými slovy
JFGI Just Fucking Google It vygoogluj si to (vyhledej to ve vyhledávači Google)
K, OKI OK ok, ano
KISS Keep It Short and Simple udělej to stručně (krátce) a jednoduše
LMAO Laughing My Ass Off smíchy se asi znečistím
LOL Laughing Out Loud směji se, až se za břicho popadám
L4 Looking For hledám
L8R Later později
M2 Mee Too já také
NC No Comment bez komentáře
NOOB Noobie nováček
NP No Problem žádný problém, bez problému
NRN No Reply Necessary odpověď není nutná
NT Nice Try dobrý pokus
NVM Never mind nevadí, neřeš
OMG Oh My God panebože, proboha
OT Off Topic není k věci, příspěvek mimo mísu
PEBKAC Problem Exists Between Keyboard and Chair problém se nachází mezi židlí a klávesnicí
PLS Please prosím
Q/A Questions and Answers otázky a odpovědi
ROFL Rolling On Floor Laughing válím se smíchy po zemi
RTFM Read The Fucking Manual přečti si sakra ten návod
SNAFU Situation Normal, All Is Fucked Up situace je normální, všechno je v pytli
SRY Sorry promiň, omlouvám se
TANJ There Ain´t No Justice není spravedlnosti
TGBADQ Try Google, Before Asking Dumb Questions zkus Google, než se začneš hloupě ptát
TGIF Thanks God, It´s Friday Díky Bohu, že je pátek
THX Thanks díky, děkuji
U2 You Too ty taky, tobě taky
W8 Wait počkej
WTF What The Fuck co to sakra...
WYSIWYG What You See Is What You Get co vidíš, to dostaneš
YABA Yet Another Bloody Acronym zase další pitomá zkratka

umount: device is busy

umount: /netapp: device is busy

You can use the fuser command to find out which process was keeping the device busy:

# fuser -m /dev/sdc1
/dev/sdc1: 538
# ps auxw|grep 538
donncha 538 0.4 2.7 219212 56792 ? SLl Feb11 11:25 rhythmbox

You can use the -k option to kill all processes using the specified file or filesystem.
In the following example, the UNIX PIDs 1313 and 1223 will be killed:

# fuser -k /dev/dsk/c0t2d0s7
/dev/dsk/c0t2d0s7: 1313co 1223c

2. 8. 2008

Vyčistit stránkovací soubor při vypnutí systému - XP

Systémový klíč: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\ Memory Management]
Jméno hodnoty: ClearPageFileAtShutdown
Typ dat: REG_DWORD (hodnota DWORD)
Hodnota dat: (0 = zakázat, 1 = vyčistit stránkovací soubor při vypnutí systému)

23. 7. 2008

Nastavení TCP/IP protokolu ve Vistě z příkazového řádku

Nastavení získávání IP konfigurace včetně DNS z DHCP serveru

netsh interface ipv4 set address name="LAN" source=dhcp
netsh interface ipv4 set dnsserver name="LAN" source=dhcp
ipconfig /flushdns
ipconfig /renew LAN

Pozn.: LAN je název mého adaptéru. Výchozí název v české Vistě je Připojení k místní síti.

Nastavení statické IP adresy a statických DNS serverů

netsh interface ipv4 set address name="LAN" static 192.168.1.1 255.255.255.0 192.168.1.1 1
netsh interface ipv4 set dnsserver name="LAN" static 192.168.1.1 primary
netsh interface ipv4 add dnsserver name="LAN" 192.168.1.2 index=2
ipconfig /flushdns

Nastavení TCP/IP protokolu ve Vistě z příkazového řádku


7. 7. 2008

Pripojeni mezi PC - xp vynucuje ucet GUEST

Ovladaci panely - Nástroje pro správu - Místní zásady zabezpečen - Místní zásady - Možnosti zabezpečení - (28 položka od zhora) Přístup k síti .... nastav "Klasický - uživatelé jsou ověřováni jako oni sami"





Control panel - Administrative Tools - Local Security Policy - Local Policies - Security Options - Network access: Sharing and security model for local accounts




There are two models available:
Classic: Local users authenticate as themselves.
Guest only: Local users authenticate as Guest.


Default:
Guest only on Windows XP Professional.
Classic on the Windows Server 2003 family and Windows XP Professional computers joined to a domain.

6. 7. 2008

NUMLOCK při startu Windows

Pokud chcete zapnout NUMLOCK již při startu Windows, nastavte v klíči HKEY_USER\.DEFAULT\Control Panel\Keyboard hodnotu InitialKeyboardIndicators na 2

link

11. 6. 2008

MediaMonkey nehraje

23.9.2006 - HomePC

Problem MediaMonkey nehraje (zadna chybova hlaska)

VYRESENO :

Podle info na Inetu

- zkopirovat plugin z WinAmpu
"C:\Program Files\Winamp\Plugins\in_mp3.dll" do C:\Program Files\MediaMonkey\Plugins\
prejmenovat na in_wmp3.dll

23. 4. 2008

WMI problem

WMI problem - WMIdiag.vbs (log - DCOM error) ...

The EnableDCOM controls the global activation and call policies of the machine


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\
EnableDCOM = value
This named value is a REG_SZ, and has two possible values: Y or N

(Pozn.MK: puvodni hodnota EnableDCOM REG_DWORD smazana a vytvorena nova REG_SZ - Y)

Nastavení času - NET TIME

Použití příkazu NET TIME k synchronizaci pracovních stanic se systémem Windows XP

net time \\timesrv /set /yes