Articles

Recent Articles

Deleting Undeletable Folders in Windows Vista and 7

July 8th, 2010

If there is a directory, whether a built-in directory (such as Music, Documents, Desktop, etc.) or a directory you create, that has become corrupted and undeletable, you’ll need to take ownership and change the ACLs on that directory. 

Use these 2 shell commands.  You’ll want to start the command prompt in administrator mode.

1.takeown /f directory_name /r /d y
2. icacls directory_name /grant administrators:F /t

Now you can use the rd command to remove the offending directory

Windows 7 All Users Desktop Path

July 2nd, 2010

All users desktop:
C:\Users\Public\Public Desktop\

All users start menu:
C:\ProgramData\Microsoft\Windows\Start Menu\

How To Set Default Wallpaper For Terminal Server

June 19th, 2010

You can brand your terminal server with your company’s logo so that employees will know they are connecting to the right place. 

The image you select will appear behind the login screen.  Simply create a BMP image file and add the path to the registry here:

defaultwallpaper

HKEY_USERS\.Default\Control Panel\Desktop\Wallpaper

Recover OST or Convert OST to PST

June 10th, 2010

Problem:

You need to recover some messages from your Outlook OST file.

Solution 1 (Easy):

If you can still open Outlook in Offline mode, you can simply use the export command (File, Import and Export…) to export to a PST.

Solution 2 :

If you have already deleted your Exchange profile from Outlook and you can no longer open the OST file in Outlook you will need to use a recovery tool.  There are many available, including Easy Recovery Professional from Ontrack.  If you do a Google search for it you will mostly find torrent links.  You can pay for it if you follow the link above.

Easy Recovery Professional will scan your OST file for messages and dump them into a PST file at the location you choose.  The process can take several hours depending on the size of your file.

Easy Recovery Professional Converts OST emails to PST

Easy Recovery Professional Converts OST emails to PST

How To Delete One Million (1,000,000) Files Without Crashing Windows Explorer

May 24th, 2010

Problem:

You have a folder with a large number of files that you need to delete.  This is too much for Windows Explorer to handle.

Solution:

FastCopy (it also deletes files fast)

It took several hours but FastCopy was able to delete 948,102 files without slowing down the server at all.

It took several hours but FastCopy was able to delete 948,102 files without slowing down the server at all.

Complete List of Mac Shortcut Keys

May 12th, 2010

(Copied from here so that I can find it easier.)

Here are the modifier key symbols you can see in Mac OS X menus:

Command key icon (Command key) – Sometimes called the “Apple key”; on Apple keyboards this key also has an Apple logo (apple logo)
Control key icon (Control key)
Option or Alt key icon (Option key) – “Alt” may also appear on this key
Shift icon (Shift key)
Caps lock icon (Caps Lock) – Toggles Caps Lock on or off
fn (Function key) – Located in the lower left corner of built-in keyboards on portable Macs

Products Affected

Mac OS X 10.4, Mac OS X 10.3, Mac OS X 10.2, Mac OS X 10.1, Mac OS X 10.0, Mac OS X 10.5, Mac OS X 10.6

Startup keyboard shortcuts

Press the key or key combination until the expected function occurs/appears (for example, hold Option during startup until Startup Manager appears, or Shift until “Safe Boot” appears). Tip: If a startup function doesn’t work and you use a third-party keyboard, connect an Apple keyboard and try again.

Key or key combination What it does
Option Display all bootable volumes (Startup Manager)
Shift Perform Safe Boot (start up in Safe Mode)
C Start from a bootable disc
T Start in FireWire target disk mode
N Start from NetBoot server
X Force Mac OS X startup (if non-Mac OS X startup volumes are present)
Command-V Start in Verbose Mode
Command-S Start in Single User Mode


Finder keyboard shortcuts

Key combination What it does
Command-A Select all items in the front Finder window (or desktop if no window is open)
Option-Command-A Deselect all items
Shift-Command-A Open the Applications folder
Command-C Copy selected item/text
Shift-Command-C Open the Computer window
Command-D Duplicate selected item
Shift-Command-D Open desktop folder
Command-E Eject
Command-F Find any matching Spotlight attribute
Shift-Command-F Find Spotlight file name matches
Option-Command-F Navigate to the search field in an already-open Spotlight window
Shift-Command-G Go to Folder
Shift-Command-H Open the Home folder of the currently logged-in user account
Command-I Get Info
Option-Command-I Show Inspector
Control-Command-I Get Summary Info
Shift-Command-I Open iDisk
Command-J Show View Options
Command-K Connect to Server
Shift-Command-K Open Network window
Command-L Make alias of the selected item
Command-M Minimize window
Option-Command-M Minimize all windows
Command-N New Finder window
Shift-Command-N New folder
Option-Command-N New Smart Folder
Command-O Open selected item
Shift-Command-Q Log Out
Option-Shift-Command-Q Log Out immediately
Command-R Show original (of alias)
Command-T Add to Sidebar
Shift-Command-T Add to Favorites
Option-Command-T Hide Toolbar / Show Toolbar in Finder windows
Shift-Command-U Open Utilities folder
Command-V Paste
Command-W Close window
Option-Command-W Close all windows
Command-X Cut
Option-Command-Y Slideshow (Mac OS X 10.5 or later)
Command-Z Undo / Redo
Command-1 View as Icon
Command-2 View as List
Command-3 View as Columns
Command-4 View as Cover Flow (Mac OS X 10.5 or later)
Command-, (Command and the comma key) Open Finder preferences
Command-` (the Grave accent key–above Tab key on a US English keyboard layout) Cycle through open Finder windows
Command-Shift-? Open Mac Help
Option-Shift-Command-Esc (hold for three seconds) – Mac OS X v10.5, v10.6 or later only Force Quit front-most application
Command-[ Back
Command-] Forward
Command-Up Arrow Open enclosed folder
Control-Command-Up Arrow Open enclosed folder in a new window
Command-Down Arrow Open highlighted item
Command-Tab Switch application–cycle forward
Shift-Command-Tab Switch application–cycle backward
Command-Delete Move to Trash
Shift-Command-Delete Empty Trash
Option-Shift-Command-Delete Empty Trash without confirmation dialog
Spacebar (or Command-Y) Quick Look (Mac OS X 10.5 or later)
Command key while dragging Move dragged item to other volume/location (pointer icon changes while key is held–see this article)
Option key while dragging Copy dragged item (pointer icon changes while key is held–see this article)
Option-Command key combination while dragging Make alias of dragged item (pointer icon changes while key is held–see this article)


Application and other Mac OS X keyboard commands

Note: Some applications may not support all of the below application key combinations.

Key combination What it does
Command-Space Show or hide the Spotlight search field (if multiple languages are installed, may rotate through enabled script systems)
Option-Command-Space Show the Spotlight search results window (if multiple languages are installed, may rotate through keyboard layouts and input methods within a script)
Command-Tab Move forward to the next most recently used application in a list of open applications
Shift-Command-Tab Move backward through a list of open applications (sorted by recent use)
Shift-Tab Navigate through controls in a reverse direction
Control-Tab Move focus to the next grouping of controls in a dialog or the next table (when Tab moves to the next cell)
Shift-Control-Tab Move focus to the previous grouping of controls
Command-esc Open Front Row (if installed)
Option-Eject Eject from secondary optical media drive (if one is installed)
Control-Eject Show shutdown dialog
Option-Command-Eject Put the computer to sleep
Control-Command-Eject Quit all applications (after giving you a chance to save changes to open documents), then restart the computer
Control Option-Command-Eject Quit all applications (after giving you a chance to save changes to open documents), then shut down the computer
fn-Delete Forward Delete (on portable Macs’ built-in keyboard)
Control-F1 Toggle full keyboard access on or off
Control-F2 Move focus to the menu bar
Control-F3 Move focus to the Dock
Control-F4 Move focus to the active (or next) window
Shift-Control-F4 Move focus to the previously active window
Control-F5 Move focus to the toolbar.
Control-F6 Move focus to the first (or next) panel
Shift-Control-F6 Move focus to the previous panel
Control-F7 Temporarily override the current keyboard access mode in windows and dialogs
F9 Tile or untile all open windows
F10 Tile or untile all open windows in the currently active application
F11 Hide or show all open windows
F12 Hide or display Dashboard
Command-` Activate the next open window in the frontmost application
Shift-Command-` Activate the previous open window in the frontmost application
Option-Command-` Move focus to the window drawer
Command- – (minus) Decrease the size of the selected item
Command-{ Left-align a selection
Command-} Right-align a selection
Command-| Center-align a selection
Command-: Display the Spelling window
Command-; Find misspelled words in the document
Command-, Open the front application’s preferences window (if it supports this keyboard shortcut)
Option-Control-Command-, Decrease screen contrast
Option-Control-Command-. Increase screen contrast
Command-? Open the application’s help in Help Viewer
Option-Command-/ Turn font smoothing on or off
Shift-Command-= Increase the size of the selected item
Shift-Command-3 Capture the screen to a file
Shift-Control-Command-3 Capture the screen to the Clipboard
Shift-Command-4 Capture a selection to a file
Shift-Control-Command-4 Capture a selection to the Clipboard
Command-A Highlight every item in a document or window, or all characters in a text field
Command-B Boldface the selected text or toggle boldfaced text on and off
Command-C Duplicate the selected data and store on the Clipboard
Shift-Command-C Display the Colors window
Option-Command-C Copy the style of the selected text
Control-Command-C Copy the formatting settings of the selected item and store on the Clipboard
Option-Command-D Show or hide the Dock
Command-Control D Display the definition of the selected word in the Dictionary application
Command-E Use the selection for a find
Command-F Open a Find window
Option-Command-F Move to the search field control
Command-G Find the next occurrence of the selection
Shift-Command-G Find the previous occurrence of the selection
Command-H Hide the windows of the currently running application
Option-Command-H Hide the windows of all other running applications
Command-I Italicize the selected text or toggle italic text on or off
Option-Command-I Display an inspector window
Command-J Scroll to a selection
Command-M Minimize the active window to the Dock
Option-Command-M Minimize all windows of the active application to the Dock
Command-N Create a new document in the frontmost application
Command-O Display a dialog for choosing a document to open in the frontmost application
Command-P Display the Print dialog
Shift-Command-P Display a dialog for specifying printing parameters (Page Setup)
Command-Q Quit the frontmost application
Command-S Save the active document
Shift-Command-S Display the Save As dialog
Command-T Display the Fonts window
Option-Command-T Show or hide a toolbar
Command-U Underline the selected text or turn underlining on or off
Command-V Paste the Clipboard contents at the insertion point
Option-Command-V Apply the style of one object to the selected object (Paste Style)
Option-Shift-Command-V Apply the style of the surrounding text to the inserted object (Paste and Match Style)
Control-Command-V Apply formatting settings to the selected object (Paste Ruler Command)
Command-W Close the frontmost window
Shift-Command-W Close a file and its associated windows
Option-Command-W Close all windows in the application without quitting it
Command-X Remove the selection and store in the Clipboard
Command-Z Undo previous command (some applications allow for multiple Undos)
Shift-Command-Z Redo previous command (some applications allow for multiple Redos)
Control-Right Arrow Move focus to another value or cell within a view, such as a table
Control-Left Arrow Move focus to another value or cell within a view, such as a table
Control-Down Arrow Move focus to another value or cell within a view, such as a table
Control-Up Arrow Move focus to another value or cell within a view, such as a table
Shift-Command-Right Arrow Select text between the insertion point and the end of the current line (*)
Shift-Command-Left Arrow Select text between the insertion point and the beginning of the current line (*)
Shift-Right Arrow Extend text selection one character to the right (*)
Shift-Left Arrow Extend text selection one character to the left (*)
Shift-Command-Up Arrow Select text between the insertion point and the beginning of the document (*)
Shift-Command-Down Arrow Select text between the insertion point and the end of the document (*)
Shift-Up Arrow Extend text selection to the line above, to the nearest character boundary at the same horizontal location (*)
Shift-Down Arrow Extend text selection to the line below, to the nearest character boundary at the same horizontal location (*)
Shift-Option-Right Arrow Extend text selection to the end of the current word, then to the end of the following word if pressed again (*)
Shift-Option-Left Arrow Extend text selection to the beginning of the current word, then to the beginning of the following word if pressed again (*)
Shift-Option-Down Arrow Extend text selection to the end of the current paragraph, then to the end of the following paragraph if pressed again (*)
Shift-Option-Up Arrow Extend text selection to the beginning of the current paragraph, then to the beginning of the following paragraph if pressed again (*)
Control-Space Toggle between the current and previous input sources
Option-Control-Space Toggle through all enabled input sources
Command-Left Arrow Change the keyboard layout to current layout of system script
Command-Right Arrow Change the keyboard layout to current layout of Roman script
Option-Command-esc Force Quit

(*) Note: If no text is selected, the extension begins at the insertion point. If text is selected by dragging, then the extension begins at the selection boundary. Reversing the direction of the selection deselects the appropriate unit.


Universal Access – VoiceOver keyboard commands

For information about VoiceOver key combination differences in Mac OS X v10.6, see this article.

Key combination What it does
Command-F5 or
fn Command-F5
Turn VoiceOver on or off
Control Option-F8 or
fn Control Option-F8
Open VoiceOver Utility
Control Option-F7 or
fn Control Option-F7
Display VoiceOver menu
Control Option-;
or fn Control Option-;
Enable/disable VoiceOver Control Option-lock
Option-Command-8 or
fn Command-F11
Turn on Zoom
Option-Command-+ Zoom In
Option-Command- – (minus) Zoom Out
Option-Control-Command-8 Invert/revert the screen colors
Control Option-Command-, Reduce contrast
Control Option-Command-. Increase contrast

Note: You may need to enable “Use all F1, F2, etc. keys as standard keys” in Keyboard preferences for the VoiceOver menu and utility to work.


Universal Access – Mouse Keys

When Mouse Keys is turned on in Universal Access preferences, you can use the keyboard or numeric keypad keys to move the mouse pointer. If your computer doesn’t have a numeric keypad, use the Fn (function) key.

Key combination What it does
8 Move Up
2 Move Down
4 Move Left
6 Move Right
1 Move Diagonally Bottom Left
3 Move Diagonally Bottom Right
7 Move Diagonally Top Left
9 Move Diagonally Top Right
5 Press Mouse Button
0 Hold Mouse Button
. (period on number pad) Release Hold Mouse Button

Control Alt Delete for Mac

May 12th, 2010

Option Command(Apple) Esc

Can’t Open Any Programs Without “Choose the Program you want to use to Open This File”

May 12th, 2010

Problem:

Every time you try to launch a program you get prompted with Choose the Program you want to use to Open This File.

Open With

Open With

Cause:

You recently had a virus or malware infection that changed some critcal registry entries so that the virus would be launched whenever you opened any program.  The virus has been removed but the registry entry remains so Windows is asking which program to run instead of the virus.

Solution:

You need to repair the registry entries.

You can temporarily launch programs by right-clicking the shortcut and choosing Run As…

Run As...
Run As…

This will allow you to run MalwareBytes which can detect the registry problem and fix it for you.

You may also edit the registry directly and fix these entries:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithList][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithProgids] “exefile”=hex(0):

CAT5e Wiring Diagram

May 7th, 2010

Pin

Name

Description

EIA/TIA 568A cable colors

EIA/TIA 568B cable colors (most common)

1 TX+ Transmit Data+

Green / White 

Orange / White

2 TX- Transmit Data-

Green

Orange

3 RX+ Receive Data+

Orange / White

Green / White 

4 n/c Not connected

Blue

Blue 

5 n/c Not connected

Blue / White

Blue / White

6 RX- Receive Data-

Orange

Green

7 n/c Not connected

Brown / White

Brown / White

8 n/c Not connected

Brown

Brown

  • Length of CAT5 cable runs should not exceed 100 meters.
  • It is very important that a single pair be used for pins 1 and 2; 3 and 6. If not, performance will degrade.

CAT5 Splitter Trick

Given that Pins 4-5,7-8  are not used in a standard 100MB connection, it is possible to attach a second RJ45 jack which places these wires in the 1-2,3-6 position in the jack.  This allows you to run 2 connections over a single cable.  While this trick works, it is probably not ideal and could cause packet loss.  I have done this for non-critical equipment such as network printers.  This trick does not work with Gigabit links as they require all 8 pins.

How to Deploy Microsoft Forefront Client Security Client Software

May 6th, 2010

They could not have made this any more difficult.  After much searching, I found this information:

Deploying Client Security

The client components of Client Security consist of a Client Security agent and a MOM agent. The Client Security agent scans for vulnerabilities and malware. The MOM agent collects the data, which is then used to generate reports for Client Security. To deploy both agents, use the following procedure.

To directly deploy the Client Security components

  1. Log on to the client computer by using local administrator permissions.
  2. Insert the Client Security CD.
  3. Open the Command Prompt window.
  4. Do one of the following:
    • To install Client Security on a client computer running a 32-bit version of Windows, type cd drive\Client.
    • To install Client Security on a client computer running a 64-bit version of Windows, type cd drive \Client\x64.
  5. Press ENTER and run ClientSetup with the following parameters:
    • /I InstallationFolder in which InstallationFolder is the location in which you want to install Client Security. This parameter is optional. The default installation folder is at the following location:
      %Program Files\Microsoft Forefront\Client Security\client
    • /L LoggingFolder in which LoggingFolder is the location in which you want Client Security to log issues encountered during the installation. This parameter is optional. The default logging folder is at the following location:
      %Program Files\Microsoft Forefront\Client Security\client\logs
    • /NOMOM in which the /NOMOM flag installs everything except the MOM agent. If you use the /NOMOM flag, do not use the /CG and /MS flags.
    • /CG ManagementGroup in which ManagementGroup is the name of the management group. If you do not specify the management group, the name will be retrieved automatically from the Client Security policy deployed to the client computer. This parameter must be used with the /MS parameter.
    • /MS CollectionServer in which CollectionServer is the name of the collection server. If you do not specify the collection server, the name will be retrieved automatically from the Client Security policy deployed to the client computer. This parameter must be used with the /CG parameter.
    • /R reinstalls the Client Security agent and the MOM agent. This parameter first verifies that the existing version is older than or equal to the currently installed version, then triggers a reinstall.
  6. Press ENTER.
  7. When the tool finishes running, close the Command Prompt window.