delorie.com/archives/browse.cgi | search |
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:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:content-type; q=dns; s=default; b=gjjprZ8 | |
NX3KwxwlJJ6FVD/rL48wJ3XHpHw4HhSPddbLqd1CHBD8ypnn2fKW0dT91ZAdWLXA | |
onngc0uvFAiEL/rQ3QMHuKDW4ugWaWuDm/qaF0rNDVMDtObvBSZMLIpO/kQIGxgd | |
EyV6++2G8f0PRFFo1vnMrrXJagvylX+6ZRow= | |
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:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:content-type; s=default; bh=NG8NguoTzYV5V | |
Tba5H8C0YFWips=; b=aoO+E64+HCxGxhpW6NqtvGGx7P0oBGOkwbt+9NNshxG7I | |
9am4I+iiGtnTQ+sL3KG52pDmnO+cYCzOMQxivm4bzdXh5VIQM4XaaPOx5nsre5wG | |
eSxgvWd04RD/OT/nBdxHClLoaE+NwyJy9y58pjFq9sw2sNHKKV6XJBT3dEh+R8= | |
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-Spam-SWARE-Status: | No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Password, highest, password |
X-HELO: | mout.gmx.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550605223; bh=Sa6FvzGJ5SE8VRCjV9kHT5HwW/xcoqGJppcE3oiFcP4=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=5j4s8ikXl9FMIMn7Fquay8tkzvuvBJezZYI4uSwMtBP1Rv7v6knhurRcA8BqPK6vg /3Yz6O+m3ImprBS5Ws3alyJGBqfI4vkT82L6QA/dkzEoPFrafmMiJzX2u4+r9e+QtP SM2NRld3XMxU3WnCjF309i2LCOU1jrDDbqBp/AvI= |
X-UI-Sender-Class: | 214d933f-fd2f-45c7-a636-f5d79ae31a79 |
MIME-Version: | 1.0 |
References: | <MN2PR15MB2718FCE1C1D389D6AC0AC4E0BC7C0 AT MN2PR15MB2718 DOT namprd15 DOT prod DOT outlook DOT com> <CANV9t=TkREdgshZ9LZpsC8KWOBcQP2Sne8dvhpSR0oSzWdDvDg AT mail DOT gmail DOT com> <MN2PR15MB2718905C46A45B81736E636EBC7C0 AT MN2PR15MB2718 DOT namprd15 DOT prod DOT outlook DOT com> |
In-Reply-To: | <MN2PR15MB2718905C46A45B81736E636EBC7C0@MN2PR15MB2718.namprd15.prod.outlook.com> |
From: | Bill Stewart <bstewart AT iname DOT com> |
Date: | Tue, 19 Feb 2019 12:40:09 -0700 |
Message-ID: | <CANV9t=RU0UUAU2gdOgqJiP0Opbge5gkX=COwnO7ZeubSnYnQng@mail.gmail.com> |
Subject: | Re: Can't create scheduled task over ssh as current user |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
On Tue, Feb 19, 2019 at 12:28 PM John Oxley wrote: > I started off with PowerShell but re-wrote to schtasks to make this post shorter. Exactly the same thing happens: > > > Register-ScheduledTask -TaskName $taskName -Action $action -Trigger $trigger -RunLevel Highest -User foo -Password $fooPassword > Register-ScheduledTask : The user name or password is incorrect. > At line:1 char:1 > + Register-ScheduledTask -TaskName $taskName -Action $action -Trigger $ ... > + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + CategoryInfo : AuthenticationError: (PS_ScheduledTask:Root/Microsoft/...S_ScheduledTask) [Register-Schedule > dTask], CimException > + FullyQualifiedErrorId : HRESULT 0x8007052e,Register-ScheduledTask Interesting; I don't know why you're getting error 0x52E (1326 - 'The user name or password is incorrect'). What is the version of the cygwin1.dll you're using? 3.0 now uses Kerberos/MSV1_0 S4U authentication, meaning you can run sshd using the SYSTEM account (recommended). Bill -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |