Top tech stories now available. See what’s trending today.
Subscription | Read Online Twitter Facebook Google+

Windows tip of the week

Software licensing secrets

By Ed Bott


Every version of Windows dating back to Windows Vista has included the Windows Software Licensing Management Tool, a script file found in the WindowsSystem32 folder as Slmgr.vbs. The script is designed for a local administrator to run in an elevated Command Prompt window.

Most people never need to use this tool, but it can come in handy when you're trying to resolve activation problems or upgrade a Windows PC. The secret is knowing which switches to add to the end of the command to achieve the desired result.

If you just type the command, with no switches, you get a series of five dialog boxes that list all those switches. Network administrators who manage a Key Management server for Volume Licensing will find a goldmine here. For the rest of us, the three most commonly used switches are the following:

Slmgr.vbs /dli Displays basic license information, including the last five characters of the product key

Slmgr.vbs /dlv Displays much more detailed license information

Slmgr.vbs /cpky Removes the product key from the registry so that it can't be copied and reused

Latest on Microsoft

Microsoft Office 365: The smart person's guide

Office 365 provides the productivity tools required by a modern enterprise workforce. This guide covers key details, including available applications, system requirements, and subscription options.

More TechRepublic stories

It's time for Microsoft to open source Windows

Automate account pre-staging in WDS with PowerShell

Is tech turning contract work into the future of employment?

How to take advantage of six new functions in Excel 2016

Posts from ZDNet

How existing Windows users can refuse Microsoft's Windows 10 update

Microsoft updates ready-to-run Windows 10 virtual machines for developers

Google, Microsoft, Yahoo: We want to stop email snooping by fixing these encryption flaws

Featured multimedia

From DOS to the golden age of Windows: The classic operating systems you can run in the browser

Photos: Our 10 favorite stereotypical hacker stock photos

Today's recommended downloads

Network troubleshooting gets real

(SolarWinds)

IBM Spectrum Storage simplifies your storage infrastructure and optimizes data economics

(IBM Power Systems)

E-book Series #3: Four Steps to Achieving Agile Parallel Development

(CA Technologies)

Infrastructure for Successful Mobile Enterprise - XCITE Seminar Summary (Japanese)

(IBM)

Evaluating file sync and share solutions: 12 questions to ask about security (Norway)

(Dropbox)

A special feature from TechRepublic and ZDNet

Internet of Things: The Security Challenge

The Internet of Things is feeding us countless new streams of data to quantify and analyze things in ways that were never before possible. It's also creating serious new security risks in the process. We examine the possibilities and the dangers.

TechRepublic newsletters

Get product reviews, tech news analysis, tips, and more in the following TechRepublic newsletters. Click the newsletter title below to subscribe.

Download

Linux and open source

Download

Five Apps

Download

10 Things

Connect with TechRepublic

Visit the Subscription Center to get other free newsletters, manage your account settings or to be removed from TechRepublic communications.

The e-mail address for your subscription is newsletter@newslettercollector.com.

Unsubscribe | Send Feedback | FAQ | Advertise | Privacy Policy

© 2016 CBS Interactive, Inc. All rights reserved.

TechRepublic is a registered service mark of CBS Interactive, Inc.

TechRepublic

235 Second Street

San Francisco, CA 94105

U.S.A.