JSI Tip 9172. When you use REG SAVE in Windows Server 2003, you receive 'ERROR: The filename or extension is too long'?

Jerold Schulman

March 20, 2005

1 Min Read
ITPro Today logo in a gray background | ITPro Today

If you run the exact same command-line again, it works correctly.

The problem is being researched.

NOTE: When you type REG SAVE /?, you receive:

REG SAVE KeyName FileName [/y]  KeyName    ROOTKEYSubKey    ROOTKEY  [ HKLM | HKCU | HKCR | HKU | HKCC ]    SubKey   The full name of a registry key under the selected ROOTKEY.  FileName   The name of the disk file to save. If no path is specified, the             file is created in the current folder of the calling process.  /y       Force overwriting the existing file without prompt.Examples:  REG SAVE HKLMSoftwareMyCoMyApp AppBkUp.hiv    Saves the hive MyApp to the file AppBkUp.hiv in the current folder



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like