WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Registry
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Accessing Alternate Registry View

 Keywords: 32-bit 64-bit Registry Redirect Redirection Alternate View WOW64 SYSWOW64

By default, a 32-bit WinBatch script running on WOW64 accesses the 32-bit registry view and a 64-bit script accesses the 64-bit registry view.

Windows implements registry redirection in order to prevent 32-bit applications from overwriting the 64-bit registry settings. Computers that are running an x64-based version of Windows store the settings for 32-bit programs in a new branch in the registry.

64-bit programs access keys and values that are stored in the following registry sub key:

HKEY_LOCAL_MACHINE\Software
32-bit programs run in WOW64 mode and access keys and values that are stored in the following registry sub key:
HKEY_LOCAL_MACHINE\Software\WOW6432node

If you would like your script to access the alternative view of the registry, you have a couple of choices:

2 simple rules to accessing the registry on 64-bit systems:

Note : You can launch the 32-bit version of Registry Editor on a 64-bit Windows platform using the following commandline:
C:\Windows\syswow64\regedit.exe

Article ID:   W18226
Filename:   Accessing Alternate Registry View.txt
File Created: 2012:11:14:09:27:14
Last Updated: 2012:11:14:09:27:14