Dec 30, 2009

Linux: Set the "x" permissions for folders only (Thanks David W)

find . -type d -print0 | xargs --null chmod 755

Dec 24, 2009

IIS Connection Limits (XP Pro)

XP Pro allows 10 connections. This limit is installed by default by the metabase key MaxConnections for W3SVC, and there is no user interface method for modifying the setting. You can change this setting to any number less than 40 and it works, but that is not widely advertised.

Nov 25, 2009

Windows Media Player (Vista/Windows 7) stuttering while playing MP3 files

Solution:

Control Panel -> Hardware and Sound -> Sound -> Speakers / Headphones -> Enhancements - Check "Disable all enhancements" and Ok

Nov 24, 2009

Application popup: : \SystemRoot\System32\RDPDD.dll failed to load

The problem is with the size of the session image space. The session image space is shared by the display drivers and printer drivers. If the sum of the drivers (rdpdd is an additional display driver) gets too big then there is no room left to load.

If you increase the size of the session image space then you can run remote desktop.

Add the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

"SessionImageSize"=dword:00000020

Oct 28, 2009

Get a DELL Service Tag on the remote Linux system

dmidecode -s system-serial-number

Sep 18, 2009

WinXP: Restore a lost wallpaper from cache

actually, a cache of the current wallpaper bitmap stored here:

"C:\Documents and Settings\-User Name-\Local Settings\Application Data\Microsoft\Wallpaper1.bmp"

Aug 19, 2009

Remove an access list from ASA(PIX)

To clear an access list from the running configuration, use the clear configure access list command in global configuration mode.
clear configure access-list [id]

Jul 9, 2009

How to remove a pre-login wallpaper from Windows Home Server

Run Regedit and go there:
HKEY_USERS\.DEFAULT\Control Panel\Desktop
Remove the "Walpaper" key

Jun 1, 2009

umount NFS filesystem fails in Linux

there is a good example how to umount dead NFS share (let's assume that umount -f / doesn't work.

Quick fix to this problem is editing /etc/mtab file and removing the nfs filesystem mount point . In Linux /etc/mtab file contains all local and nfs mounted filesystems.By editing /etc/mtab i was able to umount hanged nfs filesystem on my Linux machine without doing a reboot.

Finally to resolve
failing nfs mount issue i commented the entry in /etc/mtab file :
#sun:/export /mnt/nfs nfs rw,addr=192.168.0.135 0 0.

May 21, 2009

Chuck Norris and IT

  • The system works because Chuck Norris tells it to work
  • Chuck Norris doesn’t need a test suite. The test suite needs Chuck Norris.
  • CPUs run faster to get away from Chuck Norris
  • Chuck Norris normalizes all schema just by inserting random data
  • Chuck Norris can compile syntax errors
  • Packets travel faster than the speed of light for Chuck Norris, but he can still catch them
  • Chuck Norris has Internet 3
  • Check Norris can parse invalid XML
  • Chuck Norris can break Moore’s Law
  • Chuck Norris can fix everything without changing anything.

May 11, 2009

How to find the user / entity an email address is associated with in Exchange 2003

  • Open the Acive Directory Users and Computers Management Console
  • Right Click on the domain > Select Find
  • Select Custom Search in the Find field
  • Select the Advanced tab
  • To find the entity with the email address spamtrap@danlance.co.uk for example, enter the following in the LDAP query field: (proxyAddresses=smtp:user@somain.com)
  • This will list the entity containing the email address entered.

    Wild cards can be entered within the email address (*) to return multiple matches.
    If you want to view all the email addresses within the results list, select View -> Choose Columns... and select Proxy Address - doing this in assoication with the query (proxyAddresses=smtp:*@somain.com) will give you a list of all entities within the organisation that have an email address, together with all the email addresses they have.

Apr 21, 2009

How to turn on an automatic logon in Windows XP

Use "control userpasswords2" from command prompt to open related Control Panel applet.

Mar 28, 2009

Issue: Home Server Storage can’t calculate the size for a shared folder

  • In the console below the pie chart, chart size calculation for certain folders never stops.
  • Within the Shared Folders tab in the console, some folders appear with size unknown.


Resolution: Reset security owner permissions on the shared folder.

Mar 23, 2009

Mar 16, 2009

File security for the ssh-key files in CentOS

Lets assume that you already have a file with your key copied in the right place.

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

Mar 12, 2009

A Microsoft Word 2007 spell check does not work

Here is a solution if you're willing to do a minor edit to the registary:

HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\ProofingTools\1.0\Override\en-US

I had 2 entries (DLL and LEX) pointing to non-existing files. Delete these entries. After this change all Spell Checking worked normal again.

Mar 11, 2009

How to enable RDP remotely via the Registry.

Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\
Change the fDenyTSConnection value from 1 to 0 and wait couple of minutes.

How to see the computer descriptions in network places in Windows Vista?

A funny solution, but it works.
(source link in header, as usual)
Open My Network Places on a XP machine and expand Entire Network and MS Windows Network. Then right drag your Domain to your desktop and select "Create shortcut". Finally copy that shortcut to your Vista box, double click and see the description in details view!

Feb 26, 2009

How to install a PowerGUI Script Editor via RDP connection

I've needed to install a PowerGUI Script Editor - a great IDE to write and debug the Powershell (tm) scripts. But an installer has one limitation - if it found that you are trying to install the Editor using RDP connection - it exit immidiately. But I've found a workaround (thanks to PowerGUI forum - link in header) - use a msiexec.exe switches:

msiexec /quiet /i C:\temp\PowerGUI.1.7.0.686.msi ADDLOCAL=PowerShellEditor

Feb 18, 2009

How to remove an annoying Windows XP Silverlight update

There is good post about it (Link on the Header).

Feb 10, 2009

How to add JAVA_HOME variable in SUSE 10.2/SUN Java

I needed to install a latest Java build, that is not included in SUSE software DVD. So, I've downloaded a Java RPM from Sun's site, have installed it, but the $JAVA_HOME variable was still undefined. The problem was in /etc/profile.d/alljava.sh file. This script could work only with SUSE-bundled Java, because it do test if predefined paths exists.

So I've created a script named sunjava.sh and put it into the /etc/profile.d/ folder. You can see the script contetnt below:

export JAVA_ROOT=/usr/java
export JAVA_HOME=$JAVA_ROOT/default
export JAVA_BINDIR=$JAVA_HOME/bin

The Object could not be found - New appointment error on shared calendar Outlook 2007

Q: Outlook 2007: When I try to book a meeting in the small conference room calendar I can’t and it says, "Operation failed. An object can’t be found"
A: Workaround:
1. Go to Tools – Account settings – Email – MS Exchange – Change, clear the “Use cached Exchange mode” flag and press Next, Press OK, exit from Outlook
2. Start Outlook, set this flag up again, then restart Outlook