Try mapping a drive first to ensure connection and run the command after. Cesar On Jun 5, 2014 8:09 AM, "Jimmy Tran" <[email protected]> wrote:
> Yes, local admin account. > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *J- P > *Sent:* Thursday, June 05, 2014 7:45 AM > *To:* [email protected] > *Subject:* RE: [NTSysADM] taskkill logon error > > > > Does the account have full privileges? > > > > ------------------------------ > > From: [email protected] > To: [email protected] > Subject: [NTSysADM] taskkill logon error > Date: Thu, 5 Jun 2014 14:21:39 +0000 > > I’m trying to run taskkill in a batch script to kill a process on from a > Server 2008 R2 machine to a W7 workgroup machine. I keep getting an Error: > > > > Logon failure: unknown user name or bad password. > > > > I know the username and password is right. I’ve turned off firewall for > testing purposed. I have disabled Simple File Sharing as well. No luck. > Anything else to check? This worked before I had to wipe the OS on the w7 > machine. I am able to use net use to map shares on the W7 machine with no > problems. > > > > The command being used from the server is: > > > > taskkill /S users-pc /U users-pc\user /P password /im outlook.exe /f /t > > > > Thanks, > > > > Jimmy >

