Cerca nel blog

29 ottobre, 2009

Tuning Terminal Server Windows 2003

Registry setting for tuning connections with TS 2003.




; don't update last accessed time

; sometimes the disk is busy ... let windows keep it's cool

; not sure why one would want to tweak fileservers settings on w2k3 termserver ... but alas
; even ms suggests it ... kb324446

; don't cache smb writes ... write them (the underlying os can cache if it wants)
; don't encrypt or sign smbtrafic
; use faster data access scheme
; better performance KB324446

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Configuration Manager]

; don't try to find out about Scheduled jobs on other windows boxes

; limite the desktop for speed
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop\WindowMetrics]

; don't autoadd networkfolders else windows will go searching them every
; time it does something with files ... if one of the links is slow
; your whole performance will go down the drain

; disable grammar checking in Word 2003

; faster screen display in IE
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
"Force Offscreen Composition"=dword:00000001

; No Customer Experience Program in Office

; dont hunt down imap folders in the outlook bar ... require office SP2


28 ottobre, 2009

Allow Multiple Connection With Remote Desktop on Windows XP

Everybody knows that Windows XP does not allow multiple sessions/connections with remote desktop.
This behaviour is decided cause of EULA (only one user can login), but in Windows XP SP2 Beta this restrictions was removed.

It's possible to re-enable this feature:
- Download termserv.zip and unzip where you want.
- Start windows in safe mode
- Copy termserv.dll from unzipped directory into %windir%\system32 and %windir%\ServicePackFiles\i386. Rename the original termserv.dll into termserv.old from dllcache (%windir%\system32\dllcache)
- Enable Fast User Switching from Control Panel > User Accounts > Change the way users log on or off and enable Fast User Switching.
- Insert reg "Concurrent Connections SP2.reg" from directory where you unzipped termserv.zip. If you want to do registry modification by hand, go to start > run > regedit
Browse to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core

Change EnableConcurrentSessions value to "1". If does not exist, create a dword key with this name and set it to "1".

- Open Group Policy Editor (start > run > gpedit.msc). Go to Computer Configuration > Administrative Templates > Windows Components > Terminal Services and change value "Limit Number of Connections" with a number you want. This value set number of concourrent connections via rdp.

- Restart Windows normally and test.


20 ottobre, 2009

Windows XP Guest - Jaunty Host - Usb

First of all, USB will not work in VirtualBox if you are using the Open Source Edition (OSE) of VirtualBox. Get the full closed-source edition of VirtualBox from their website. There are many differences between the open-source edition and the closed-source version and one of them is USB.

I finally got USB working with Windows XP running as a guest inside VirtualBox running on a Ubuntu Jaunty host. First find out what the group id of the vboxusers group is:

$ grep vbox /etc/group

Then, enable the deprecated /proc/bus/usb inteface:

$ sudo gedit /etc/init.d/mountkernfs.sh

Add the following line after /proc is mounted, at the end of the do_start() function.

domount usbfs "" /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=,devmode=664

replacing with the you found in the first step. Make sure to reboot.
This didn't work for me until I rebooted. There you have it.
You shouldn't have to edit /etc/init.d/mountdevsubfs.sh or /etc/fstab as some other internet sources have suggested.