troubleshooting Question

Downgrading Visio 2013 Professional to Standard using Batch script ?

Avatar of Senior IT System Engineer
Senior IT System EngineerFlag for Australia asked on
Microsoft VisioVB ScriptWindows Batch
4 Comments2 Solutions1200 ViewsLast Modified:

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"



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.

Any help would be greatly appreciated.



Here's the link for the serial number:
Source of the script:
David Johnson, CD
The More I know, the more I don't know
Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros