Friday, October 26, 2007
Enable File Sharing and Firewall
Try to change deny policy of your firewall about system process and port 445 on tcp inbound to allow. If not work try udp, too.
SSH for windows
download from SSHWindows and install. It's linux sshd with small cygwin. It installs as windows service(OpenSSHd)
after install in bin folder, run below commands:
mkgroup -l >> ..\etc\group
mkpassword -l >> ..\etc\passwd
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
Set the following registery
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/
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
Click Start, Run and type CONTROL USERPASSWORDS2, and click Ok. Select the user account from the list (the account to which you want to automatically logon). Uncheck Users must enter a user name and password to use this computer option, and click Ok. Type the user account password and complete the process.
Or
Configure it manually in registry
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
This step is useful if you can't add your languyage and keyboard by windows input languages in Regional Settings
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"
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
create a special value under this registry key:
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
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
Subscribe to:
Posts (Atom)
