regedit fails with a pop-up
Kevin Schnitzius
kometes@yahoo.com
Fri May 13 18:41:42 GMT 2022
On Friday, May 13, 2022, 01:50:12 PM EDT, Denis Excoffier <cygwin@denis-excoffier.org> wrote:
> It seems that very recently (immediately after i installed 3.3.5),
> /cygdrive/c/windows/regedit /E 'HKEY_CURRENT_USER\Environment'
> no longer works (i.e. should dump the environment on stdout), and produces a pop-up window with:
> Cannot export HKEY_CURRENT_USER\Environment: Error opening the file. There may be a disk or file system error.
Note: this fails the same way from cmd.
regedit /e --- Exports the entire registry to a file. You can modify this command to add a filename and specific location on the drive, such as regedit /e c:\AllRegistryEntries.reg. You can export a specific key with the following example command regedit /e keybackup.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Edge.
You cannot use con: as the output file apparently.
Kevin
More information about the Cygwin
mailing list