I had the same issue and found the answer here.
The problem is that the bat uses de reg command and it searches that in the PATH system variable. Somehow you have managed to get “C:\Windows\System32” out of the PATH variable, so just go to the system variables (right click “My Computer” > “Properties” > advanced config > “Environment Variables”, search the PATH variable and add at the end separated by “;” : C:\Windows\System32
Related Contents:
- Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt’ after installing Visual Studio 2012 Release Preview
- Cannot import the keyfile ‘blah.pfx’ – error ‘The keyfile may be password protected’
- How do I cancel a build that is in progress in Visual Studio?
- IIS Express Windows Authentication
- Visual Studio Disabling Missing XML Comment Warning
- “Unable to find manifest signing certificate in the certificate store” – even when add new key
- How do I install a NuGet package into the second project in a solution?
- How to find server name of SQL Server Management Studio
- IIS does not list a website that matches the launch url
- Targeting .NET Framework 4.5 via Visual Studio 2010
- F12 Jump to method -> go back to previous method after making the jump?
- How do you include additional files using VS2010 web deployment packages?
- Converting VS2012 Solution to VS2010
- How to automatically indent source code?
- “Has invalid child element” warnings in Microsoft.Common.Targets while building
- VS 2010 Test Runner error “The agent process was stopped while the test was running.”
- Visual Studio Unit Testing: SetUp and TearDown
- Web deployment task build failed
- Dark Theme for Visual Studio 2010 With Productivity Power Tools
- How to disable the indentation dotted line in VS 2010
- Enter., Backspace and the navigation keys not responding in Visual Studio 2010 w/ Powertools/Resharper
- Can I make Visual Studio place curly braces on the same line as an if statement (in HTML)?
- VS2010 docks code windows in the wrong place
- TF30063: You are not authorized to access Collection. Nuget and Tfs conflicting
- Is it safe to delete the “ipch” folder – Precompiled headers? [duplicate]
- How to remove a empty folder from a project under TFS control?
- Why does ExecutionPolicy behavior vary across projects in Visual Studio?
- What’s the reason for error message? I am using VS 2010 professional edition
- Exclude comments when searching in Visual Studio
- TFS: Search for a file by name in source control
- Nuget – Don’t see allow nuget to download missing packages during build
- What does the “Link Library Dependency” linker option actually do in Visual Studio 2010 – 2015 and upwards?
- Specified platform toolset (v110) is not installed
- How to fix inconsistent line endings for whole VS solution?
- Visual Studio 2010 nuget error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel
- Why does it take sooo long to load my solution in Visual Studio?
- Generate a class diagram from Visual Studio
- Visual Studio remote debugger “invalid access to memory location” feature
- Hide items in the right-click context menus in Visual Studio 2010 (08)?
- How do I use MSTest without Visual Studio?
- Could not load file or assembly “Oracle.DataAccess” or one of its dependencies
- Use custom console for Visual Studio Console Application Debugging
- Visual Studio 2013 gives “Cannot add duplicate collection entry of type ‘mimeMap’”
- Silverlight 4: Resolving Microsoft.Silverlight.CSharp.targets was not found?
- VisualStudio2010 Debugging – The process cannot access the file … because it is being used by another process
- Why is there no 64bit version of Visual Studio 2010?
- Completely Disable Formatting and Completion in ReSharper for Visual Studio
- How to change the current line color in Visual Studio 2010?
- What is the packages directory in Visual Studio? Should I include it in SVN?
- How to change ipch path in Visual Studio 2010