19
8
My Windows 7 computer is on LAN in an intranet with a Windows domain, but it is not a member of that domain. However, I need to run some applications under domain accounts while I'm logged on locally as a local admin.
I know you can use the runas
utility to start processes under accounts different from the one under which you have logged on. The thing is that Windows needs to know or authenticate the account under which a process is starting.
When I do something like:
runas /user:DOMAIN\USERNAME cmd.exe
(and put in a correct password afterwards) I get this kind of error:
RUNAS ERROR: Unable to run - cmd.exe
1326: Logon failure: unknown user name or bad password.
Does anybody know how to cope with this?
This worked for me, although I didn't think it was going to, as it still had the logged-in user name in the connection window greyed out. But after connecting I run the query "select SYSTEM_USER" and it was correct. – JumpingJezza – 2018-06-11T03:33:19.013
3The addition of
/netonly
worked for me where my machine is on a domain, but a different domain from that of the user I needed to impersonate. – None – 2013-11-20T17:14:53.013