Home » Computers (Page 2)

Category Archives: Computers

Microsoft NPS with Cisco Equipment Using RADIUS

See this article: Integrating Cisco devices CLI access with Microsoft NPS/RADIUS

Should be cheaper than Cisco’s ACS or ISE systems for small to medium 50-1000 user/computer  organizations.

Think about PCI/DSS (3.0) when analyzing cost/risk/liability/brand reputation.

TLS Certificate for Windows 8/8.1 Remote Desktop Service

# —————————————
# Remote Desktop Service (RDS) certificate for Windows VERSION 6.2 and 6.3
# This works on Windows 7, 8, and 8.1 Professional and Enterprise Editions, for both 32-bit and x64 CPUs.
# —————————————

# All of this required Administrator level “elevated” privileges. If you don’t know what that means or how to get an “Administrator:Command Prompt” then stop and find a different guide.

# 1) Add SHA1RSA certificate to “Run” -> certlm.msc -> Certificates Local Computer -> Personal -> Certificates
# 1.1) Windows 7 does not have certlm.msc. Use mmc.exe and the Certificates snap-in for the “local computer” and then continue on to step 2).

# 2) Get the cert hash(sha1) “thumbprint”
# Example:
certutil.exe –store my example.com | findstr /r "Subject: Cert.Hash"
# Subject: CN=*.example.com, OU=Domain Control Validated
# Cert Hash(sha1): ff 65 98 ff d0 a9 ff f1 70 ff 53 2b ff dd 3d ff eb 22 ff 0a

# 3) Verify the subject line is the correct certificate and then cleanup the “thumbprint” hash by removing all space characters

# 4) The networkdriver has the right to read the sha1 thumbprint of the certificate from a BINARY registry key:
# HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SSLCertificateSHA1Hash = <thumbprint>
# Example reg hack
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v "SSLCertificateSHA1Hash" /t REG_BINARY /d ff6598ffd0a9fff170ff532bffdd3dffeb22ff0a

# Only change this only as a last resort!
# 5) The revocation-list may need to be constrained to the local list with DWORD key if no CRL is available.
# HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\UseCachedCRLOnlyAndIgnoreRevocationUnknownErrors = 1
# Example reg hack
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Credssp" /v "UseCachedCRLOnlyAndIgnoreRevocationUnknownErrors"/t REG_DWORD /d 1

Dell Wyse Cloud Connect

This is the Dell “PC-on-a-Stick”: http://www.dell.com/us/business/p/cloud-connect/pd?~ck=anav

Use the Dell Cloud Client Manager server for $22 a year per device: https://www.cloudclientmanager.com/

JavaScript & jQuery MVC Tutorials

Here is a link for ten free tutorial about JavaScript & jQuery using MVC:
http://www.sitepoint.com/10-javascript-jquery-mvc-tutorials/

Map a Network Share with PowerShell

Use the New-SmbMapping command to map a remote network share to a local drive letter.

New-SmbMapping -LocalPath Y: -RemotePath \\server\ShareName

Cisco Unified Communications and VMware Tools

Please see this documentation for the installation of VMware Tools on Cisco Unified Communications (UC) servers.

http://docwiki.cisco.com/wiki/VMware_Tools

Customer Service & Support Software

Customer Service & Support Software

Spiceworks Agent Deployment

 

NoReplyAll Outlook Add-In

The Outlook Add-In can be download from this page: http://research.microsoft.com/en-us/downloads/60860f41-88ab-4bb4-8104-765feca9cfed/default.aspx

The primary function of this add-in is to add a few buttons to the Outlook ribbon to prevent people from replying to all the recipients of your message or forwarding it, etc. The add-in uses a facility built into Outlook and Exchange that is more lightweight than information-rights management but is not exposed in the existing UI. The add-in also includes a check for common email errors, such as omitting attachments or subject lines.

Windows Deployment Information

These are some old and new link for managing business/enterprise Windows system deployment.

I hope to maintain and expand this list/page.

DPM Errors with SQL Server Windows Management Instrumentation

Error in DPM:

“DPM could not enumerate SQL Server instances using Windows Management Instrumentation on the protected computer”

In order to fix the error:

  1. Login to your database server
  2. Open Command Prompt and browse to C:\\Program Files (x86)\\Microsoft SQL Server\\100\\Shared
  3. Run the command: mofcomp sqlmgmproviderxpsp2up.mof

mofcomp C:\\Program Files (x86)\Microsoft SQL Server\\100\Shared\\sqlmgmproviderxpsp2up.mof

CertMgr.exe Tool

The Microsoft CertMgr.exe tool is included in few SDKs like the Windows SDK, Drivers SDK, and with Visual Studios.  As of this writing it is a standalone executable and can simply be copied to other computers with requiring installation or other support files. (more…)

IIS port (socket) pooling

 

To add an IP address to the IP inclusion list

  1. Click Start, and then click Run.
  2. Type cmd, and then click OK to open a command prompt.
  3. Type the following, where xxx.xxx.x.x is the IP address you want to add:

httpcfg set iplisten -i xxx.xxx.x.x

When this succeeds, Httpcfg returns the following:

HttpSetServiceConfiguration completed with 0
To view additional status codes, see the Httpcfg help.

  1. After the IP address is added, use the following command to list it:

httpcfg query iplisten

Httpcfg returns the following:

IP :xxx.xxx.x.x

  1. From the command prompt, stop the HTTP service and its dependent services. To do this, type the following string at the command prompt:

net stop http /y

  1. From the command prompt, restart the HTTP service and it dependent services. To do this, type the following string at the command prompt:

net start w3svc

Note When you start w3svc, all services that were stopped when HTTP was stopped will start.

 

Uninstall System Center 2012 DPM Agent From The Command Line

http://support.microsoft.com/kb/2756127

To uninstall an update, run the following command:

msiexec /uninstall <PatchCodeGuid> /package <RTMProducCodeGuid>

Note The <RTMProductCodeGuid> placeholder represents one of the following GUIDs:

Server 7348450D-5558-4CA6-8E71-044720D304F2
Console (amd64) 95241780-B772-4A42-A1F0-8FA951FAF619
Console (x86) 4FC5546F-AD4A-4C76-9B48-DF11F946EDD0
Reporting A1A61449-81E0-4C25-82DD-92B0A3CB4E77
WebConsole (amd64) 20F530CC-FD73-43FE-ABD3-138D140A77A9
Agent (amd64) 5155DCF6-A1B5-4882-A670-60BF9FCFD688
Agent (x86) D14AAC0-B9A1-4CEF-B507-23755C1EBE3A
Agent (IA-64) 16499EB-B3D8-4473-9EF4-AB72FDDECD4B
Gateway 7032CF7-3861-4150-8EDD-4DE2540C6E7B

Connect to Windows Internal Database (WID) on Server 2012

There has been a change to the Named Pipe path of the Window Internal Database (WID) on Windows Servers 2012.  The new path uses “tsql” instead of “sql” that has been in all previous versions.

Use this string in the “Server name” field of the “Connect to Server” dialog of the Microsoft SQL Server Management Studio program:

\\\\.\pipe\\MICROSOFT##WID\\tsql\\query

Cisco VPN on Windows 8

I have run across this issue when installing both the Cisco AnyConnect VPN client and the traditional Cisco VPN client. Once the client is installed and you attempt to establish the VPN connection you might get one of the following messages: “Unable to establish VPN” or “The VPN client driver encountered an error.”

 

The fix is you need to change the “Display Name” in the registry. Open the following registry key and take out the extra INF stuff at the front of the “Display Name” data. The different VPN clients use different Registry keys.

HKLM\SYSTEM\CurrentControlSet\Services\vpnva\DisplayName

HKLM\SYSTEM\CurrentControlSet\Services\CVirtA\DisplayName

HKLM\SYSTEM\CurrentControlSet\Services\CVPND\DisplayName

Create UEFI Installable Windows 7/8 USB Drive

Important: UEFI accepts boot loaders only from a FAT32 formatted boot volume.

You will need a 4GB+ USB drive:

  1. Open elevated command prompt
  2. Run diskpart
  3. Enter list disk
    Locate your USB drive number. Pay attention, identifying the wrong disk could wipe out your system.
  4. Enter select disk #     (where # is the disk number of your USB drive from the list above)
  5. Enter these commands: (Everything on the disk will be deleted!)
  • clean
  • create partition primary
  • select partition 1
  • active
  • format quick fs=fat32
  • assign
  • exit
  1. Mount or extract the Windows 7 or 8 ISO
  2. Copy the contents from the ISO to the USB drive
  • robocopy S:\\ D:\\ /e    (S = the ISO drive or contents, D = the USB device)
  1. Enter the BIOS setup by pressing one of the F keys. (F2 is the most common, but F12 may work also)
  2. Disable Legacy BIOS ROMS support. (May also be “UEFI only” or similar option.
  3. Save BIOS and Exit, boot from your USB stick to start the installation.
  4. When selecting the drive and partition configuration in Setup, I find it best to use the Advanced Options and delete all existing HDD partitions on the destination drive.

Then click New and then Apply to automatically create the four (4) partitions needed for UEFI/GPT/Dynamic Disk operation.

After Windows is installed run MSINFO32.exe and check the “BIOS Mode” in the system summary. It will show either “UEFI” or “Legacy”.  (If you followed these instruction then hope for “UEFI”.)

Building a Free Hyper-V Server 2012 Cluster

Step-by-Step: Building a FREE Hyper-V Server 2012 Cluster – Part 1 of 2

Step-by-Step: Building a FREE Hyper-V Server 2012 Cluster – Part 2 of 2

Keyboard shortcuts for Windows

Windows system key combinations

  • F1: Help
  • CTRL+ESC: Open Start menu
  • ALT+TAB: Switch between open programs
  • ALT+F4: Quit program
  • SHIFT+DELETE: Delete item permanently
  • Windows Logo+L: Lock the computer (without using CTRL+ALT+DELETE)

Windows program key combinations

  • CTRL+C: Copy
  • CTRL+X: Cut
  • CTRL+V: Paste
  • CTRL+Z: Undo
  • CTRL+B: Bold
  • CTRL+U: Underline
  • CTRL+I: Italic

Mouse click/keyboard modifier combinations for shell objects

  • SHIFT+right click: Displays a shortcut menu containing alternative commands
  • SHIFT+double click: Runs the alternate default command (the second item on the menu)
  • ALT+double click: Displays properties
  • SHIFT+DELETE: Deletes an item immediately without placing it in the Recycle Bin

General keyboard-only commands

  • F1: Starts Windows Help
  • F10: Activates menu bar options
  • SHIFT+F10 Opens a shortcut menu for the selected item (this is the same as right-clicking an object
  • CTRL+ESC: Opens the Start menu (use the ARROW keys to select an item)
  • CTRL+ESC or ESC: Selects the Start button (press TAB to select the taskbar, or press SHIFT+F10 for a context menu)
  • CTRL+SHIFT+ESC: Opens Windows Task Manager
  • ALT+DOWN ARROW: Opens a drop-down list box
  • ALT+TAB: Switch to another running program (hold down the ALT key and then press the TAB key to view the task-switching window)
  • SHIFT: Press and hold down the SHIFT key while you insert a CD-ROM to bypass the automatic-run feature
  • ALT+SPACE: Displays the main window’s System menu (from the System menu, you can restore, move, resize, minimize, maximize, or close the window)
  • ALT+- (ALT+hyphen): Displays the Multiple Document Interface (MDI) child window’s System menu (from the MDI child window’s System menu, you can restore, move, resize, minimize, maximize, or close the child window)
  • CTRL+TAB: Switch to the next child window of a Multiple Document Interface (MDI) program
  • ALT+underlined letter in menu: Opens the menu
  • ALT+F4: Closes the current window
  • CTRL+F4: Closes the current Multiple Document Interface (MDI) window
  • ALT+F6: Switch between multiple windows in the same program (for example, when the Notepad Find dialog box is displayed, ALT+F6 switches between the Find dialog box and the main Notepad window)

Shell objects and general folder/Windows Explorer shortcuts

For a selected object:

  • F2: Rename object
  • F3: Find all files
  • CTRL+X: Cut
  • CTRL+C: Copy
  • CTRL+V: Paste
  • SHIFT+DELETE: Delete selection immediately, without moving the item to the Recycle Bin
  • ALT+ENTER: Open the properties for the selected object

To copy a file

Press and hold down the CTRL key while you drag the file to another folder.

To create a shortcut

Press and hold down CTRL+SHIFT while you drag a file to the desktop or a folder.

General folder/shortcut control

  • F4: Selects the Go To A Different Folder box and moves down the entries in the box (if the toolbar is active in Windows Explorer)
  • F5: Refreshes the current window.
  • F6: Moves among panes in Windows Explorer
  • CTRL+G: Opens the Go To Folder tool (in Windows 95 Windows Explorer only)
  • CTRL+Z: Undo the last command
  • CTRL+A: Select all the items in the current window
  • BACKSPACE: Switch to the parent folder
  • SHIFT+click+Close button: For folders, close the current folder plus all parent folders

Windows Explorer tree control

  • Numeric Keypad *: Expands everything under the current selection
  • Numeric Keypad +: Expands the current selection
  • Numeric Keypad -: Collapses the current selection.
  • RIGHT ARROW: Expands the current selection if it is not expanded, otherwise goes to the first child
  • LEFT ARROW: Collapses the current selection if it is expanded, otherwise goes to the parent

Properties control

  • CTRL+TAB/CTRL+SHIFT+TAB: Move through the property tabs

Accessibility shortcuts

  • Press SHIFT five times: Toggles StickyKeys on and off
  • Press down and hold the right SHIFT key for eight seconds: Toggles FilterKeys on and off
  • Press down and hold the NUM LOCK key for five seconds: Toggles ToggleKeys on and off
  • Left ALT+left SHIFT+NUM LOCK: Toggles MouseKeys on and off
  • Left ALT+left SHIFT+PRINT SCREEN: Toggles high contrast on and off

Microsoft Natural Keyboard keys

  • Windows Logo: Start menu
  • Windows Logo+R: Run dialog box
  • Windows Logo+M: Minimize all
  • SHIFT+Windows Logo+M: Undo minimize all
  • Windows Logo+F1: Help
  • Windows Logo+E: Windows Explorer
  • Windows Logo+F: Find files or folders
  • Windows Logo+D: Minimizes all open windows and displays the desktop
  • CTRL+Windows Logo+F: Find computer
  • CTRL+Windows Logo+TAB: Moves focus from Start, to the Quick Launch toolbar, to the system tray (use RIGHT ARROW or LEFT ARROW to move focus to items on the Quick Launch toolbar and the system tray)
  • Windows Logo+TAB: Cycle through taskbar buttons
  • Windows Logo+Break: System Properties dialog box
  • Application key: Displays a shortcut menu for the selected item

Microsoft Natural Keyboard with IntelliType software installed

  • Windows Logo+L: Log off Windows
  • Windows Logo+P: Starts Print Manager
  • Windows Logo+C: Opens Control Panel
  • Windows Logo+V: Starts Clipboard
  • Windows Logo+K: Opens Keyboard Properties dialog box
  • Windows Logo+I: Opens Mouse Properties dialog box
  • Windows Logo+A: Starts Accessibility Options (if installed)
  • Windows Logo+SPACEBAR: Displays the list of Microsoft IntelliType shortcut keys
  • Windows Logo+S: Toggles CAPS LOCK on and off

Dialog box keyboard commands

  • TAB: Move to the next control in the dialog box
  • SHIFT+TAB: Move to the previous control in the dialog box
  • SPACEBAR: If the current control is a button, this clicks the button. If the current control is a check box, this toggles the check box. If the current control is an option, this selects the option.
  • ENTER: Equivalent to clicking the selected button (the button with the outline)
  • ESC: Equivalent to clicking the Cancel button
  • ALT+underlined letter in dialog box item: Move to the corresponding item

Free Virtual Machine backup

Veeam is offer a free virtual machine backup tool.  It works with both Hyper-V and VMware. Read about it it here.