Home > Windows Server Tips > Windows Server Monitoring and Management > Exploring the Windows Server 2003 Resource Kit: Cmdhere.inf and CMGetCer.inf
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

Exploring the Windows Server 2003 Resource Kit: Cmdhere.inf and CMGetCer.inf


Tim Fenner, Contributor
01.07.2008
Rating: --- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Tim Fenner
This segment of our in-depth look at Microsoft's Windows Server 2003 Resource Kit will be focused on two tools: the Cmdhere.inf and the Connection Manager Certificate Deployment tool.

Cmdhere.inf

This INF file is used to extend the right-click menu in the Windows Explorer shell. With this extension, you can right click on any file or folder, choose the "CMD Prompt Here" option and a new command window (DOS prompt) will open with the command prompt's starting path pointing to the object you had focused on.

Requirements:
Same as the other Windows Server 2003 Resource Kit tools

Installation:

  1. Locate the Cmdhere.inf file in the Resource Kit folder (C:\Program Files\Windows Resource Kits)
  2. Right click on the Cmdhere.inf file and choose Install
    Or
    Run the following command (either manually or from a batch file): regsrv32 cmdhere.inf

General use:
This tool is pretty simple to use. By opening a command-line session through the CMD Prompt Here option, you save yourself from having to open the session manually (start run: cmd) and typing out the full path to the desired object folder. And you don't have to open a command-line session by manually typing cd {space} and then dragging the folder object into the CMD window.

Issues:
Not all folders work with this command.

CMGetCer.inf

Basic info:
If you are in the business of deploying Remote Access Connections to clients using Connection Manager, then the Connection Manager Certificate Deployment Tool (CMGetCer.inf) should be on your list of tools to use. This little DLL enables remote users who require a secure virtual private network (VPN) to automatically obtain a certificate for L2TP/IPsec connections. Normally, you have to jump through several hoops to get certificates installed on client computers, but CMGetCer allows the administrator to automate the process.

According to Microsoft, the Connection Manager component was designed to provide customized remote access to your network through a dial-up or a VPN connection. The company states that, "by deploying remote access clients with the Connection Manager family of programs, which includes the Connection Manager Administration Kit (CMAK), Connection Point Services (CPS) and the Connection Manager client, you can configure the remote access experience for your users."

The tool runs custom actions at various points when you are establishing a connection. Per Microsoft, the CMAK wizard can be used to include custom actions (batch files, executable files, DLLs) in your service profile to automatically start programs when users connect to your service. The programs used by these custom actions can distribute the programs with your service profile, or they can use programs that users have installed themselves.

Requirements:

  • Windows XP Professional or Windows Server 2003 family operating system
  • Connection Manager
  • Membership in the administrators domain local group
  • These are the system requirements for clients to run a profile containing CMGetCer: Windows Server 2003, Windows XP Professional, Windows XP Home Edition, Windows 2000, Windows Millennium Edition (ME) or Windows 98 operating system.

    Installation:
    Copy the DLL to the system running Connection Manager

    General use:
    To use CMGetCer, you need a Connection Manager profile that calls CMGetCer.dll as a pre-tunnel or as a connect action. To create your Connection Manager profile, use the Connection Manager Administration Kit.

    To create a CM profile by using CMAK:

    1. Run the CMAK Wizard.
    2. Select Create a custom action.
    3. Select Client Policy-checking Script as the custom action for the policy.
    4. Under Edit Custom Action, enter cmgetcer.dll in the Program to run box, set Action type to Pre-tunnel or to Connect, and then set Run this custom action for to All connections.

    Tim Fenner (MCSE, MCSA: Messaging, Network+ and A+) is a senior systems administrator who oversees a Microsoft Windows, Exchange and Office environment. He is also an independent consultant who specializes in the design, implementation and management of Windows networks.

    Rate this Tip
    To rate tips, you must be a member of SearchWindowsServer.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    Windows Server Monitoring and Management
    How Windows Server 2008 R2 stands up to security checks
    BitLocker in R2 provides data protection for semi-protected servers
    Perfmon made easy with PAL utility
    Converting Citrix XenServer source machines to Hyper-V format
    Balancing Windows security with reasonable password policies
    Windows AppLocker in R2: Turning conventional security wisdom on its head
    Top 10 things you don't know about Windows Server 2008 R2
    BranchCache makes branch offices feel like home
    When to use VM backups versus snapshots in Hyper-V
    Installing Server Core for Windows 2008 the easy way

    Windows Server Monitoring and Administration
    Perfmon made easy with PAL utility
    DirectAccess means 'always on' in Windows Server 2008 R2
    Top five Server Core management tips for Windows 2008
    Top free tools for Windows server administration
    Windows Server 2008 Learning Guide
    A quick guide to Server Manager for Windows Server 2008
    Moving dynamic disks to a new Windows server
    A first look at Storage Explorer for Windows Server 2008
    Tips for Windows domain controller optimization
    Take control of server clusters with Microsoft's ClusDiag tool

    Microsoft Windows Server 2003 Administration
    How to install Windows Server 2003 patches when offline
    Validating Windows server clusters with ClusPrep
    Exploring the Windows Server 2003 Resource Kit: Clusfileport.dll
    Windows server security management: Security expert roundup
    Windows server management with Remote Desktop
    Avoid DC restoration problems with authoritative restore
    Exploring the Windows Server 2003 Resource Kit: Confdisk.exe
    Exploring the Windows Server 2003 Resource Kit: Compress.exe and Expand.exe
    Exploring the Windows Server 2003 Resource Kit: Clusterrecovery.exe
    How to use Microsoft's IIS Diagnostics Toolkit
    Microsoft Windows Server 2003 Administration Research

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    Server Room Design - Planning, Cooling, Maintenance
    HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts