Is Windows 8.3 File Naming Enabled? How Do I Enable 8.3 File Naming If It Is Not? ka20h0000005ErpAAE | GE Customer Center

Is Windows 8.3 File Naming Enabled? How Do I Enable 8.3 File Naming If It Is Not?

Objective
Validate 8.3 File Naming is enabled and/or Enable 8.3 File Naming

Environment
Primary Product Module: Web Server
Primary Product Version: All
Primary Product OS: Windows Server 2008 and newer

Note
Proficy Plant Applications Report Server Services require 8.3 file paths to work correctly.

By default Windows Server Operating Systems enable 8.3 file names on the system drive (typically the C drive). System Administrators can turn this off on the system drive as well, so the issue may still be present.

However, it is NOT typically enabled on non-system drive(s) and this presents a problem when installations are performed to alternate (non-system) drives.

Procedure

Validate 8.3 File naming is enabled or disabled:
  1. Open command prompt
  2. Type: cd c:\ <enter>
  3. Type: dir /x (/x will display the long and the 8.3 name)
You should see a file listing similar to:
<date> <time> <DIR> Progra~1  Program Files
<date> <time> <DIR> Progra~2  Program Files (x86)
The existence of the short 8.3 name "Progra~1" would indicate that 8.3 naming is enabled.

Repeat the above procedure on the drive that Plant Applications has been installed to, D drive for example:
  1. Open command prompt
  2. Type: d: <enter>
  3. cd d:\ <enter>
  4. Type: dir /x (/x will display the long and the 8.3 name)
If you DO NOT see the short version name for a long folder name or a folder name with spaces. Then 8.3 file naming is NOT enabled on this drive and will likely cause an issue with services working correctly.
<date> <time> <DIR>                  Program Files
<date> <time> <DIR>                  Program Files (x86)

The next steps will instruct on how to enable 8.3 file naming. Note that local administrator privileges are required. When opening a command prompt to execute the commands, right click command prompt and select Run As Administrator.
  1. Open a command prompt (run as administrator)
  2. Type: fsutil 8dot3name query <enter>
The result should be similar to:
"The registry state of NtfsDisable8dot3NameCreation is X..."

State Values:
0 = 8.3 file creation is enabled on all volumes on the system
1 = 8.3 file creation is disabled on all volumes on the system
2 = 8.3 file creation is enabled per volume on the system (default)
3 = 8.3 file creation is DISABLED on all volumes except the system volume

To Enable 8.3 System Wide (suggested):
  1. Open elevated (run as administrator) command prompt (if not still open)
  2. Type: fsutil behavior set disable8dot3 0 <enter>
To Enable 8.3 per volume:
  1. Open elevated (run as administrator) command prompt (if not still open)
  2. Type: fsutil behavior set disable8dot3 <DriveLetter>: 0 <enter>
Once 8.3 is enabled, this will NOT generate 8.3 file/folder names for the existing files and folders. This will need to be done manually:
  1. Stop all the Plant Applications Services (else next step(s) will fail as files will be in use)
  2. Open Windows Explorer and navigate to the Installation Drive.
  3. Rename the existing folder "<InstallDriveLetter>:\Program Files (x86)". To Program Files (x86).old - If you are unable to rename this folder as files are in use. It will be required to stop any applications that have files open in this folder. Once able to rename this folder, proceed. Do not proceed until renaming this folder is successful.
  4. Create a new "Program Files (x86)" folder
  5. Copy (not move) the contents of the "Program Files (x86).old" folder to the new folder
  6. Follow the steps above to get the 8.3 file names to validate 8.3 file names have been created
  7. Delete the "Program Files (x86).old" folder (clean up)
  8. Restart services

Related Articles
Microsoft Technet: Fsutil 8dot3name
Troubleshooting Plant Applications Report Server Parameters
Report Server Installation Missing Parameters or Creates Additional Entries