delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/03/05:34:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=YDr
gGKQxNSjDWpR06fT8Xn2+BnYBY3/aIQA1evlHIqoIje2TfJW+ykcz0BHCnxlxm0b
nWL4o5kMOnIe/qJEWtvYu6pA/+GEpq0ZVS9Q5Nz/dWlgfA99Yi4ZNpAOxsD6ZNJH
rWiOFi7OQM348lCDYHOvEs5upuS26arJ+KN6gBp4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=cz3kRUZsE
wuClQ0Dafy60SqnAGo=; b=TN4YDfR0EaLekSY4cUkangz6F37R7HuToLAmzFQDV
677Vb2qS9olz9K1vpUi64DssYF0W3yXVrp3frZ7/Hr68QrCU5ucyTI/NYMBW0LR+
xzNsPCLzXX1mmF4MhgeJrNgpvQZTmlwqB7Qz+T5KytH9cjBP0vAgtyJa63R0X8p5
+w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: regtool load gives access denied
Date: Tue, 03 Feb 2015 05:33:05 -0500
Lines: 16
Message-ID: <6d81da1hr5jf15mrm5acdjcb8cev4t3t21@4ax.com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes

I want to back up and restore some of my registry settings.  I start a shell
with "Run as administrator", and regtool save seems to work fine for saving:

$ regtool save /HKCU/Software/SimonTatham/PuTTY/Sessions PuTTY.reg
$ 

However when I try to reload the saved settings, I get access denied:

$ regtool load /HKCU/Software/SimonTatham/PuTTY/Sessions PuTTY.reg
Error (5): Access is denied.

Does anyone know why this fails?  I'm puzzled by this since I'm running in an
admin shell.

Thanks,
Andrew


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019