Nisses blog

Slå mig, älska mig

Archive for September, 2009

Great way to extract the tunnelpassword from Cisco conf

I needed a way to get the password for a VPN tunnel. I got access to the firewall but the password is encrypted. I found this great page where you can reverse the hash to your key. For now i’m happy that it’s possible but is it really?

Take me to Coreygilmore.com

posted by Nisse in Technical and have No Comments

How to move you offline folders files in Windows 2000 / XP

If you are in the need of moving the contents of the %systemroot%\csc folder for some reason(lack of space on C:) you need to use a tools called cachemov.exe. I found this very easy but harder to find the actual tool.

Download the file below unzip and run. It will ask you for which partition to store the files on and then the waiting game starts. This does only work in Windows 2000 and Windows XP. There are some DLL-files missing if you try running the file in Vista and i guess Windows7.

cachemov.zip (46.95 kb)

posted by Nisse in Technical and have No Comments

How to block Spotify on your network

To save bandwidth in a network or to enforce the company IT-policy you might need to block Spotify in some way. Spotify is using several ports to login(4070, 443 and 80). 443 and 80 is ports that you don’t want to block.

Block the following IP-range: 78.31.8.0 MASK: 255.255.248.0
The user Daze have a nice solution for the Cisco guys at this forum but with 255.255.248.0 in the mask.

Then all you need to do is to wait for the first user to call and complain :)

Technorati-taggar: ,,,,
posted by Nisse in Technical and have No Comments

A guide for aligning discs for virtualisation

If you have a MSA or another SAN solution you can increase the performance of the hardware a lot with the help of the diskpart tool that’s available thru the prompt. This is only for windows 2003 since windows 2008 will align the partitions by default.

  1. Create the machine and the disk.
  2. Mount the disk in an existing virtual machine.
  3. Delete all partitions on the disk.
  4. Open a promt and execute diskpart.exe
  5. At the Diskpart command prompt, type List Disk and press Enter. If the disk you want to align does not appear in the list make sure that it exists and is accessible using the Disk Management snap-in.
  6. At the Diskpart command prompt, type Select Disk X, where X is the number of the disk as shown in the output of the List Disk command. Diskpart should return a message that indicates that Disk X is the selected disk.
  7. At the Diskpart command prompt, type Create Partition Primary Align=X, where X is either 32 or 64, depending on the recommendation from your storage vendor. If your storage vendor does not have any specific recommendations, it is recommended that you use 64.
  8. Shutdown the machine and and mount the disk in the intended machine.

This is the same steps as I found in this article on Technet.

posted by Nisse in Technical and have No Comments