Friday, October 26, 2007
Enable File Sharing and Firewall
SSH for windows
after install in bin folder, run below commands:
mkgroup -l >> ..\etc\group
mkpassword -l >> ..\etc\passwd
Thursday, October 25, 2007
Useful Utilitis for Windows
Clear RunMRU at Loggoff
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
ClearRecentDocsOnExit
1 : Clear
0 : Off
This setting also clear typed url in IE.
Good staff : http://windowsxp.mvps.org/
Configure Windows XP to Automatically Login
Or
Configure it manually in registry
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Set the DefaultDomainName, DefaultPassword (must be non-blank), and DefaultUserName. Set AutoAdminLogon to 1 (all are type REG_SZ). If you ever want to logon as a different user, hold down the shift key as you logoff.
Add Persian(Farsi) Keyboard Layout Manually
1- Install Additional files for complex script and right to left languages
2- Get and put kbdfa.dll in system32 folder (It's farsi keyboard layout)
3- Open windows\inf\intl.inf and add the following settings
3-1-
[Locales]
00000429 = %Farsi% ,720 ,11,,0409:00000409,0429:00000429,0429:00000401
3-2- Enter after same entries
[00000429]
;
; Farsi (Iran)
;
DelReg = FontSubs.Registry.Remove,FileSystem.Registry.FE
AddReg = NLS.Registry.Farsi
AddReg = NLS.Setlang.0429,Font.CP1256.Substitutes
3-3- Enter after same entries (On my windows, It's only entry about this keyboard layout in that file)
[NLS.Registry.Farsi]
HKLM,System\CurrentControlSet\Control\NLS\Codepage, ACP,,1256
HKLM,System\CurrentControlSet\Control\NLS\Codepage,OEMCP,,720
HKLM,System\CurrentControlSet\Control\NLS\Codepage,MACCP,,10004
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontMapper","DEFAULT",0x00010001,178
3-4-
[KBD.LGFiles.Install.Arabic]
kbdfa.dll ; Farsi
[KBD.LGFiles.Remove.Arabic]
kbdfa.dll ; Farsi
3-5-
[Strings]
Farsi = "Farsi"
KLT_124 = "Farsi"
4- Add below registry entries
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language Groups]
"d"="1"
d is equal to 13 for arabic group which can be find in intl.inf file.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
"10000"="c_10000.nls"
"1256"="c_1256.nls"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale]
"00000429"="d"
These are farsi lang id and arabic lang group id
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\\00000429]
"Layout File"="KBDFA.DLL"
"Layout Text"="Farsi"
"Layout Display Name"="@%SystemRoot%\system32\input.dll,-5124"
Hide a User from the Windows Welcome List
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
Under this key you simply create a new DWORD value - the name matches the users name exactly, and the value is one of the following (Decimal format)
0 - Hides the user just from the welcome screen
1 - The user is shown
Two or more concurrent sessions in Windows XP (Terminal Server Patch)
The beta 2055 release of XP PRO SP2 let you run two or more sessions (one local console and one or more remote desktop) concurrently. But this functionality was removed in the Final release. This patch will enable two or more concurrent sessions in Windows XP PRO Service Pack 2 (SP2) or later if you have FAST USER SWITCHING enabled, and your windows is NOT in a domain.
Uninstaller is also included and can be found at windows Control Panel -> Add or Remove Programs.
Sunday, October 21, 2007
Solaris Automatic Package Download
pkg-get -c|compare automake
pkg-get -i|install automake
configuration file:
/opt/csw/etc/pkg-get.conf
Friday, October 19, 2007
enable NUM LOCK before a user logs on
1. | Run Registry Editor (Regedt32.exe). |
2. | Navigate to HKEY_USERS\.Default\Control Panel\Keyboard. |
3. | Change the value for InitialKeyboardIndicators from 0 to 2. |