Home » Articles posted by Mike (Page 2)

Author Archives: Mike

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

Halo Player Vs. Penis User

Please try this link: The Website Is Down Sales Guy vs Web Dude by casualencountersblog

Other YouTube versions:

The Website Is Down (real voices) by OvinioTM

The Website Is Down – Sales Guy vs. Web Dude by automat53

Twin Pines Drive-In

As a small tribute to my early years: http://www.twinpinesdrivein.com/

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.

Project Management Solutions

Online “Cloud” Solutions

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