Monday, January 27, 2014

Windows 8: Change File Explorer Default Open Location

Did you know you can change the File Explorer's (formerly known as Windows Explorer) default behavior of opening the Libraries folder?  Its just of matter of changing the shortcut's properties to something that you would prefer instead.

Follow the instructions below:
  • Press the WinKey + D to show the desktop.
    • Note: Its important to close all the File Explorer windows.
  • Hold down Shift and Right-click on the Explorer icon in the taskbar, and select Properties.  
    • Note: you can also make your own shortcut by right-clicking an empty area on the desktop and selecting New > Shortcut, just follow the instructions in the wizard.  Paste any of the command paths below into the Type the location of the item field, press the Next button, give your new shortcut a name, and press the Finish button.
  • In the Shortcut tab, in the Target field you can specify the path to the new location that you want to use. For example, use one of the following paths (by default its: %UserProfile%\AppData\Roaming\Microsoft\Windows\Libraries):
    • To open Computer folder (show all drives attached to the computer):%SystemRoot%\explorer.exe /root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}.  The Control Panels folder is: %SystemRoot%\explorer.exe /root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}
    • To specify a specific path, use: %SystemRoot%\explorer.exe C:\Users (change C:\Users to be any path you want)
  • Press the OK button when done.
Bonus tip:
  • Use the /select,"object": To specify a file or folder to receive the initial focus.
    • For example: %SystemRoot%\explorer.exe /select,c:\windows\system32\calc.exe (To select the CALC.EXE in the C:\WINDOWS\SYSTEM32 folder)

Monday, January 20, 2014

Windows 8: Checking Activation Status

Are you a user of Windows 8 Professional or Enterprise edition and would like to check the status of activation on the local computer? Want to make sure that the computer is connected properly to the Key Management Server (KMS) or used your Multiple Activation Key (MAK) properly? Or are you a home user and just want to make sure your computer is fully activated?

Included in Windows 8 (this tool was first made available in Windows Vista, so this tip will work on earlier versions of Windows) is very useful utility that will help you check the status of activation of your computer:
  • From the Start screen, type CMD and press the Enter key
  • At the command prompt, type slmgr.vbs /dli and press the Enter key (for a more detailed report run slmgr.vbs /dlv).
After a few seconds you will be presented with a pop-up message with your activation status.
Note: Windows 8 supports a new command called: LICENSINGDIAG (e.g. licensingdiag.exe -report c:\output\license_report.xml -log c:\output\license.cab), that generates a report about the activation and registration data on the local computer.  This tool appears to be some type of technical support diagnostic tool based on the way it runs.

Monday, January 13, 2014

Windows 8: Tracking Boot/Shutdown/Standby Time Length (Troubleshooting)

Is your computer taking a long time to boot up, shutdown or go to standby?  In the Event Logs it is possible to find the length of time it took for the computer to finish one of these operations.

You might ask why this is important? If this issue just started happening you can track down the specific time when this problem started.  Once you have the time when the issue started, check the Application and System event logs during that time and see if there were any problems.

If this has been happening for a long time this information might not help you because the first time it might have occurred could have been cleared out. Its still worth checking the Application and System event logs during the last boot/shutdown/standby time too see if there were any problems.
  • Open the Start screen and type Event viewer into the Search box and click the application icon. 
  • In the left pane of the Event Viewer, navigate the folders to Applications and Services Logs/Microsoft/Windows/Diagnostics-Performance
  • Expand this entry and double click on Operational (it should be the only item in this folder) this will display full diagnostic report of the computer's boot operations. 
Its possible to filter the current log to make it easier to find these events.  Click Filter Current Log... in the pane to the right. In the dialog that appears, change "<All Event IDs>" (the text box above the one labeled Task category) to "100" (for boot events, 200 for shutdown events  and 300 for standy events) . Press the OK button to apply the filter.
Note: For total boot time: Look in the pane that appears below this list; the value next to "Boot Duration" is the amount of time (in MS) that your system took to load from start to finish. Just divide by 1000 to get the time in seconds.

Example:
Log Name:      Microsoft-Windows-Diagnostics-Performance/Operational
Source:        Microsoft-Windows-Diagnostics-Performance
Date:          9/13/2011 8:01:02 AM
Event ID:      100
Task Category: Boot Performance Monitoring
Level:         Critical
Keywords:      Event Log
User:          LOCAL SERVICE
Computer:      SOMEMACHINE
Description:
Windows has started up:
     Boot Duration              :        215730ms
     IsDegradation              :        false

     Incident Time (UTC)        :        ‎2011‎-‎09‎-‎13T14:56:39.702800400Z

Wednesday, January 08, 2014

Windows 8: General Keyboard Shortcuts

Below is a list of general keyboard shortcuts that can be used in most programs.  For most people, most of these shortcuts are already known, but its suggested that you review the list to see if you can discover new ones that you were not aware of.
  • CTRL+A: Selects everything (all editable objects) in the current window.
  • CTRL+C: Copies the selected object to the clipboard.
    • Tip: In some dialog boxes CTRL+C allows you to copy the text from it.
  • CTRL+X: Cuts the selected object to clipboard.
  • CTRL+V: Pastes the selected object from clipboard.
  • CTRL+Y: Redoes the last command or change.
    • Note: This function is not supported in all applications
  • CTRL+Z: Undoes the last command or change.
    • Tip: Use this shortcut to undo file or folder moves or deletions to the recycle bin.
  • DELETE: Deletes the selected text or object
  • ESC: Cancel the current task
  • F1:  Displays help for that application
  • HOME: Puts the cursor at the beginning of a line.
    • Note: CTRL+HOME (takes the cursor to the beginning of a document) and CTRL+SHIFT+HOME (selects all text from the cursor to the beginning of a document).
  • END:  Puts the cursor at the end of a line.
    • Note: CTRL+END (takes the cursor to the end of a document) and CTRL+SHIFT+END (selects all text from the cursor to the end of the document).
  • ALT+ Spacebar:  Opens the shortcut menu for the current window.
    • Tip: This feature is handy when the window's title bar is off the screen and you can't get to it.  You can press the  ALT+Spacebar keys then use the arrow keys to move the title bar into a visible area.
  • SHIFT with any of the arrow keys: Selects more than one item in a window or on the desktop, or selects text in a document.
  • CTRL+RIGHT or LEFT ARROW: Moves the insertion point to the beginning of the next or previous word.
    • Note: CTRL+SHIFT with any of the arrow keys: Highlights a block of text.

Monday, December 30, 2013

Networking: 802.11 WiFi Standards (Updated)

Are you confused by all the 802.11 WiFi "alphabet soup of letter name" standards, such as 802.11a, 802.11b, 802.11g, etc? Currently 802.11n  is the most popular standard, and its backwards compatible with 802.11b, and 802.11g.

Here is a brief breakdown of the different 802.11 standards; including: speed, frequency, and the date it was ratified as a standard:
  • 802.11: up to 2Mbps, uses the 2.4GHz frequency (Finalized: 1997)
  • 802.11b: up to 11Mbps, uses the 2.4GHz frequency (Finalized: 7/1999)
  • 802.11a: up to 54Mbps, uses the 5GHz frequency (Finalized: 7/1999)
  • 802.11g: up to 54Mbps, uses the 2.4GHz frequency (Finalized: 6/2003)
  • 802.11n: up to 150Mbps+, uses the 2.4Ghz and 5GHz frequency (Finalized: 10/2009)
    • Utilizes MIMO (Multiple-Input Multiple-Output), uses multiple transmitters and receivers antennas to allow for increased data throughput.
    • Some Wi-Fi cards and routers can support speeds of 300Mbps when utilizing a feature called 'channel bonding' (if its supported in the networking equipment) and not running into interference from other nearby wireless networks.
  • 802.11ac: up to 866Mbps+, uses the 5GHz frequency (Still in draft)
For more information see the following Wikipedia article.

From: Wikipedia
Notes:
  • All 802.11 Wi-Fi hotspots only can run as fast as the slowest device on the network.  For example, if you have a 802.11n wireless network with 5 people communicating at 150Mbps. Then if someone brings 802.11b device on the network the Wireless Access Point will slow down to 11Mbps to support the slower device. 
  • 2.4GHz equipment can incur interference from microwave ovens, cordless phones, and other appliances using the same radio signal frequency range.
  • The higher frequency 5GHz equipment signals has more difficulty penetrating walls and other obstructions.

Monday, December 23, 2013

Windows 8: TCP/IP Addressing (Static and Dynamic)

In Windows, you can have one of two types of IP addresses: dynamic or static. Dynamic IP addresses are temporarily assigned to a network device when their requested, and is generally done during the boot process. The network service that assigns dynamic IP addresses is known as DHCP. While static IP addresses have to be manually assigned to a device by a systems administrator, and are meant to be changed infrequently.

Dynamic IP addresses are the most common method of assigning an IP address to a network based device (such as a computer, printer, etc) because it reduces the network administration overhead. Today's office and work force are in a constant state of flux. People with mobile devices (such as tablets, smartphones, and laptops) will move from location to location, even desktop users can get moved around within a company on a semi-regular basis.
Note: If a Windows client makes a DHCP request for an IP address and doesn't get a reply in a timely manor, then it will switch to using Automatic Private IP Addressing (APIPA). APIPA is a private IP address range (169.254.0.0 to 169.254.255.255) that allows devices on a network using this address range to communicate with themselves. To configure this service, click on the Alternate Configuration tab in the Internet Protocol (TCP/IP) dialog.
If all devices used a static IP address, it would cause a network administration nightmare, they would all have to be changed every time a device was moved.  Most static IP addresses are assigned to servers or network based devices like routers or DNS servers. These devices need a static IP address because other devices on the network depend on knowing how to contact them.

To configure the TCP/IP addressing (dynamic or static) in Windows, follow the instructions below:
  • From the Start screen, type Network and click Settings on the right.  Click the Network and Sharing Center icon.  In the left pane, click the Change adapter settings link.
  • Right-click the active network connection (note: this selection can change between systems depending on the equipment that is installed), and select Properties.
  • Select Internet Protocol Version 4 (TCP/IPv4) [or Internet Protocol Version 6 (TCP/IPv6) depending on how your network is configured] and the press the Properties button.
From here you can select one of two options, Obtain an IP address automatically (dynamic) or Use the following IP address (static). If you're using a static IP address you need to know the following information: unique IP address, subnet mask for the network, IP address of the default gateway, and the IP addresses of the primary and secondary DNS servers. When you're done press the OK button twice.

Networking tips:

  • To find the TCP/IP address of the local computer, from the command prompt type: IPCONFIG /ALL.
  • To request a new DHCP address, from an administrator command prompt type: IPCONFIG /RELEASE and then type: IPCONFIG /RENEW 

Monday, December 09, 2013

Windows 8: File Path Name Tricks

Some windows commands require that you use the full path name of a file, which can be quite long depending on how deep it's in a folder structure.

Below are some tricks to avoid typing this information:
  • Hold down the Shift while right-clicking the file or folder and select Copy as path.  This will copy the objects path to the clipboard.
  • Drag and drop the file from the desktop or File Explorer into the command prompt window, or the Run... command (WinKey + R) Open field.  From here you can select the text and copy it to the clipboard.
Bonus tip: To open a command prompt at a specific folder in the folder structure, just right-click it and select Open command window here in the pop-up context menu.

Monday, December 02, 2013

Windows 8: File Explorer Keyboard Shortcuts

Most of us use Window's built-in File Explorer application (formerly known as the Windows Explorer) to manage files, folders and drives that are accessible by the local computer.

If you prefer using the keyboard to control an application, here are some of the better keyboard shortcuts to know for the File Explorer.
  • Ctrl + F: Open up the search pane. 
    • Build a complex search query using the controls in the pane to find specific files.
  • Alt + Up Arrow (or backspace): Go up a folder.
  • Alt + Right Arrow: Go forward (takes you back into your folder browsing history)
  • Alt + Left Arrow: Go back (takes you back into your folder browsing history)
  • Alt + D: Focus the address bar and select the current path.
  • Alt + P: Shows the Preview pane
  • Alt + Shift + P: Shows the Details pane
  • Alt + Enter: Properties of the selected file
  • Ctrl + Mouse wheel: changes the folder view type.
  • Ctrl + Shift + N: Creates a new folder at the current location
  • Ctrl + F1: Opens or closes the ribbon at the top of the window 
  • F4: Opens dropdown menu in the address bar.
  • F11: Puts the File Explorer into full-screen mode.
Note: The Windows File Explore tracks the folder browsing history, similar to the way Internet Explorer's tracks your browsing history. Every folder or network path you visit is remembered, you can then use the Alt+Left or Right arrow to move through the folder location history that were previously visited.

    Monday, November 25, 2013

    Windows 8: Managing the Send To Menu

    The Send To menu is a very useful context menu. This feature gives you the ability to right-click on any file and perform a specific action, such as sending a file to the desktop or another location. You can also send a file to a blank e-mail, so that it can be mailed to a friend. The options are not limitless, but they're pretty extensive.

    To access the Send To menu, do the following:
    • From the Run... command (WinKey + R) Open field or the File Explorer address bar type %userprofile%\AppData\Roaming\Microsoft\Windows\SendTo and press the Enter key.
    • From here you can create new folders, shortcuts to applications (such as Notepad), and more. If you create a shortcut to an application, make sure that it can handle those file types you want to send it.
    If you ever want to remove some items from the Send To menu, just open up the folder and delete the shortcuts you don't want.

    Monday, November 18, 2013

    Software: Sysinternals Free Utilities

    Personally I am not a huge fan of using 3rd party utilities for performing most types of systems diagnostics. I like to rely on the OS's built-in tools as much as possible.  Primarily I don't want to be reliant on a utility that I might not have with me at the time or it requires some type of installation on a customer's system.

    Although when I do have to rely on external utilities, one of the first sites I use is Sysinternals (http://www.sysinternals.com). These are some of the better diagnostic and troubleshooting utilities available for Windows. Also, Mark Russinovich and his team are continuously updating the existing tools and creating new ones.

    Besides being free and powerful tools, all (or most) of these utilities don't require that they be installed (this is known as being a 'portable application' because it can be moved between systems without installing it).

    Sysinternals Suite
    The tools on the site can be downloaded individually, or you can download the Sysinternals Suite which contains the latest versions of all the utilities in one package.  As of the writing of this article, below is a current list of the programs that come included within the suite (see below).    


    Note: Text above is from the following page.

    Sysinternals Live
    The site offers a feature called 'Sysinternals Live' that provides quick access to the latest versions of all their free tools. You can download any of the utilities without having to unzip them. All you have to do is remember the following URL to download them live.sysinternals.com.
    Tip: You can also attach live.sysinternals.com like any other network mounted drive, and run the utilities directly from the Internet.
      • Open a command prompt (type CMD in the search field under the Start menu)
      • Type: net use * \\live.sysinternals.com\tools\
      • You will see a message like "Drive Z: is now connected to \\live.sysinternals.com\tools\"
      • Type drive letter and press return (i.e.: type Z: then press the Enter key)
      • Now type DIR and you will see all the utilities, or open the Windows Explorer and goto the Z: drive (or whatever drive letter the NET USE command gives you).

    Monday, November 11, 2013

    Windows 8: Installing Hyper-V

    Hyper-V is Microsoft's virtual machine (VM) hyper-visor technology.  If you're not sure what a VM is, its virtual hardware composed of software that runs inside of a computer.

    Windows 7 had a similar feature called "XP Mode" which utilized the Virtual PC technology.  Although, the Virtual PC lacks several of the more advanced features of Hyper-V.

    Hyper-V only used to be available on the Windows Server 2008 platform (and higher).  Microsoft has incorporated Hyper-V technology into Windows 8.  Although, this option is only available in the 64-bit versions of Windows 8 Professional and Enterprise editions of the OS.
    Notes: 
    • If you're running Windows 8 Standard Edition (or Windows 7), then you will need to use a 3rd party VM technology like: VirtualBox (or another application). 
    • There are differences between the Hyper-V Client (Windows 8), and Hyper-V Server (Windows Server 2012).
    To utilize this feature the computer needs to have enough RAM (minimum 4GB of RAM), storage and a fast CPU to support this feature.  The computer's CPU and motherboard also need to support the VM extensions (e.g. Intel Virtualization Technology [VTx] or AMD-V) and it must be enabled in the BIOS (check with your Motherboard manufacture's web site for more information).

    • From the Start Screen, type Windows Features, click on the Settings button and click on Turn Windows Features on or off.
    • In the Windows Features dialog display, check the Hyper-V option, and then press the OK button.  Note: If the Hyper-V Platform is grayed out the 64-bit version of the OS is not installed.

    Notes: 
    • To enable Hyper-V using the administrator command prompt, type: Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All
    • To enable Hyper-V using Windows PowerShell, type: enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 
    After the Hyper-V installation is completed, the computer will need to be restarted.  To create, delete or manage the VMs, you will need to use the Hyper-V Management console.  To access the console from the Start screen, type Hyper-V and then click the Hyper-V Manager.

    Monday, November 04, 2013

    Software: FileZilla (FTP Client)

    If you do any development (such as web site design) on the Internet or systems administration, then you need a FTP client to upload or download files from remote computers and services.  FileZilla is a free open source cross-platform FTP client with a graphical user interface (note: there is also a FTP server option available).

    Below is a brief list of some of its features:

    • FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP)
    • Supports resume and transfer of large files > 4GB
    • Powerful Site Manager and transfer queue.
    • and more.
    To download the program or get more information, visit the FileZilla web site.

    Monday, October 28, 2013

    Windows 8: Taking Ownership of a Folder

    When a user creates a file or folder in Windows, they automatically become the owner of that resource. As the owner, they are able to set and change security permissions to the object.

    If you want to change the permissions on a resource that you do not own, you must be assigned the Full Control permission. If you don't have the Full Control permission, you must first take ownership of the resource and then you can proceed with assigning yourself the correct permissions.

    You can take ownership of a folder in Windows using the steps that are listed below.
    • Log on to the computer with an account that has administrator permissions, and open the File Explorer.
    • Right-click the file or folder that you want to change ownership permissions on then select Properties, and then click on the Security tab.
    • Press the Advanced button.
    • Click the Owner link towards the top left of the dialog.
      • The current owner of the resource will be listed.
    • In the select user or group dialog select the user that needs ownership assigned to them.
    • Press the OK button twice.
    Now that the new user has ownership of the object they must be assigned the Full Control permission to change the security permissions on the file or folder. 

    Monday, October 21, 2013

    Windows 8: Sticky Notes and Keyboard Shortcuts

    In Windows 7 a new feature was added called Sticky Notes that for allows the creation of little virtual notes on the monitor. To activate this feature, open the Start screen, and type: Sticky Notes then click on the icon to activate it.

    You can move the Sticky Notes around by moving them with their title bar at the top of each note.  You can delete them by pressing the "X" button, or create a new note by pressing the "+" button in the title bar.

    One cool feature of the Sticky Notes is the rich text formatting shortcuts that are available. All you have to do is select the text, and use the keyboard shortcuts below:
    • Ctrl + L: Left aligns the text
    • Ctrl + E: Center aligns the text
    • Ctrl + R: Right aligns the text
    • Ctrl + B: Bold the text
    • Ctrl + I: Italicizes the text
    • Ctrl + U: Underlines the text
    • Ctrl + T: Strike Through the text
    • Ctrl + Shift + A: Capitalizes all characters
    • Ctrl + Shift + L: Turns text into list (press multiple times to change the bullet style)
    • Ctrl + Shift + < (less then sign): Decreases the font size
    • Ctrl + Shift + > (greater then sign): Increases the font size
    • Ctrl + = (equal sign): Subscripts the text
    • Ctrl + Shift + = (equal sign): Superscript the text
    • Ctrl + 1: Sets single line spacing
    • Ctrl + 2: Sets double line spacing
    • Ctrl + 5: Sets line spacing to 1.5
    • Ctrl + N: Creates a new sticky note
    • Ctrl + D: Deletes a sticky note

    Additional Tips/Notes:  
    • To change the color of the Sticky Note, right-click the note and select a new color from the pop-up menu.
    • All Sticky Note are able to re-sized to be smaller or larger.
    • All Sticky Notes are stored in a file called %APPDATA%\Microsoft\Sticky Notes\StickyNotes.snt


    Wednesday, October 16, 2013

    Video: How to Buy High Speed RAM



    This video has some great advice on how to buy RAM.  It gets a little technical, but I think its also very understandable.

    Video Description: "High speed memory has been a staple for enthusiasts who want to get the most out of their systems for YEARS, but in this investigation we take a look at how much of a difference it actually makes to performance."

    Monday, October 14, 2013

    Windows 8: Using and Creating Desktop Toolbars

    Windows 8 desktop mode still provides Toolbar support in the Taskbar. This feature allows adding additional functionality to the taskbar by adding any of the four built-in toolbars or allowing for the creation of a custom one.

    To enable or disable the toolbar functionality, use the context menu in the taskbar.

    • Right-click the taskbar, and select Toolbars in the pop-up menu.  From here you can select one of the built-in toolbars, or create a custom one based on links in a folder.
    • Below is a list of the built-in toolbars: 
      • Address: Use this toolbar to open up URLs, or run commands (such as CMD.EXE) from the taskbar.  Works similar to the Run... command (WinKey + R).
      • Links: Provides quick access to the Internet Explorer Favorites (e.g. bookmarks).
      • Touch keyboard: Provides access to the Windows on-screen keyboard.
      • Desktop: Provides quick access to shortcuts, folders and files on the desktop.

    To create a custom toolbar:
    • Right-click the taskbar, and select Toolbars > New toolbar... in the pop-up menu.  
    • When the file dialog appears, select a folder that contains shortcuts, documents, applications, or even other folders that you want to access via this feature.
    • Press the Select Folder button.
    The new toolbar will be available in the right-hand part of the taskbar.  To disable a built-in toolbar, or to delete a custom one, all you have to do is uncheck it in the Toolbars pop-up menu.

    Wednesday, October 09, 2013

    Video: Digital Security Life Hacks



    Video Description: "Have you ever had an account compromised or your information stolen? It's National Cyber Security Awareness Month and as a public service to you, here are some tips to help protect yourself online and offline. "

    Monday, October 07, 2013

    Software:7-Zip (Archive/Compression Utility)

    7-Zip is a free open source file archive and compression utility for the Windows. It can be operated from the command line program or via its graphical user interface.

    Below is a brief list of some of its features:
    • Supported formats: Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM.Unpacking only: ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR and Z.
    • Supports AES-256 encryption in the 7z and ZIP formats.
    • The 7z format supports a self-extracting capability.
    • and more
    To download the program or get more information, visit the 7-Zip web site.

    Wednesday, October 02, 2013

    Game: Party like 1995 with the Browser Version of Hover...

    Microsoft has released a browser version of a 1995 game it created called Hover.  Its not GTA, but it will remind you of driving a bumper car through a maze trying to collect flags before your opponent.  The real purpose of this game is to showcase the power of Internet Explorer 11 (it also runs in other browsers).

    To play the game, go to: http://hover.ie/.

    Monday, September 30, 2013

    Windows 8: Stupid PC Tricks - Lock Screen Shortcut

    Note: "Stupid PC Tricks" are a series of user tips that I think are interesting, but unfortunately they're not all that useful.
    In any organization its important to lock your computer when you leave it, this will prevent someone from abusing your network security access.  By pressing the WinKey + L on the keyboard you can lock the computer screen.  With this tip you can create a shortcut icon that does the same thing by clicking on it.

    • Create a new shortcut (right-click the desktop, select New > Shortcut)
    • In the Type the location of the item field, type: rundll32.exe user32.dll LockWorkStation, and then press the Next button.
    • In the Type the name of the shortcut field, type: Windows Switcher, and then press the Finish button.