We help IT Professionals succeed at work.
Get Started

Downgrading Visio 2013 Professional to Standard using Batch script ?

Last Modified: 2016-01-19

I need your help in revising or modifying the script below so that it can downgrade Visio 2013 Professional into Standard Edition ?

REM @echo off

if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86 
set ProgramFilesPath=%ProgramFiles(x86)%
goto RUN

set ProgramFilesPath=%ProgramFiles%

reg query HKLM\Software\Microsoft\Office\15.0\Common\OSPPRUNONCE 
if %errorlevel%==1 (goto RUN) else (goto END)

C:\Windows\system32\cscript.exe "%ProgramFilesPath%\Microsoft Office\Office15\ospp.vbs" /inpkey:J484Y-4NKBF-W2HMG-DBMJC-PGWR7 
C:\Windows\system32\cscript.exe "%ProgramFilesPath%\Microsoft Office\Office15\ospp.vbs" /act 

REM Rename the Visio Professional display name into Standard edition in the Add/Remove Program lists.
REG ADD "HKLM\Software\Microsoft\Office\15.0\Common\OSPPRUNONCE"
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office15.VISPRO" /v DisplayName /d "Microsoft Visio Standard 2013"
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office15.VISPRO" /v DisplayName /d "Microsoft Visio Standard 2013"



Open in new window

The typical scenario is that Visio 2013 Professional is installed in Windows 7/8.1 64 bit OS but the Visio application is just 32 bit.

Here's the Error message when executing the script above:

Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

ERROR CODE: 0xC004F069
ERROR DESCRIPTION: The Software Licensing Service reported that the product SKU is not found.

Open in new window

Any help would be greatly appreciated.



Here's the link for the serial number: https://technet.microsoft.com/en-us/library/dn385360.aspx
Source of the script: http://blogs.technet.com/b/odsupport/archive/2010/12/03/volume-license-editions-of-visio-2010-install-premium-edition-by-default.aspx
Watch Question
The More I know, the more I don't know
Distinguished Expert 2020
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE