Wednesday, February 20, 2013

How to fix "RIM Mass Storage Device" driver issue


1. Go to C:\Windows\System32\DriverStore\FileRepository
Find files named usbstore…

2. Choose the most recent usbstor folder
Open the folder
You’ll see a number of files…

3. Select and copy usbstor.inf
4. Now go to C:\Windows\Inf
Paste the usbstor.inf file into this folder (On my system there was no usbstor.inf file already in this folder).
5. Now try again to install the reader
When Vista reports it cannot find a driver direct it to C:\Windows\Inf
If all goes well you will see the following information from Vista

Tuesday, June 5, 2012

How to run Skype in Windows 8 Release Preview

UPDATE: Skype has released a hot fix for these issues so instead of following these steps please re-install/update the latest version of Skype.

Fix login issue:
  • Stop Skype (it doesn't stop all the way in Win8 RP so kill it using Task Manager/Process Explorer)
  • Go to C:\Users\YourUserName\AppData\Roaming\Skype
  • Delete the following folders and files
    •  shared_dynco
    • shared_httpfe
    • shared.lck
    • shared.xml
Fix high CPU usage:
  • Run Process Explorer
  • Find Skype from the running processes
  • Double click the Skype.exe process
  • Go to Threads tab (click ok on the warring, it only shows up once)
  • Sort the running threads by CPU usage and kill the one that is consuming highest CPU resource
  • Skype will be still running but it will consume less CPU resource than before

Wednesday, January 11, 2012

How to disable password complexity rule in Active Directory (Windows 2008 R2)

  1. Go to Start > run > gpmc.msc
  2. Go to "Forest">"Domains" then expand the default domain
  3. Right-click and edit the "Default Domain Policy". This will open a new window with title "Group Policy Management Editor"
  4. On the "Group Policy Management Editor"
    go to "Computer Configuration">"Polices">"Windows Settings">"Security Settings">"Account Policies">"Password Policy"
  5. Now modify the password complexity requirements setting. 
  6. You have to then run "gpupdate" to propagate the changes.

FizzBuzz in different languages

Java: import java.util.TreeMap ; public class Main { public static void main (String[] args) { System. out .println( ...