Re: Impersonating a domain user for debugging purposes

From: Steve Thompson (stevethompson_at_nomail.please)
Date: 06/22/04


Date: Tue, 22 Jun 2004 14:17:06 -0400


"Raterus" <raterus@spam.org> wrote in message
news:%23uCRFd9VEHA.716@TK2MSFTNGP11.phx.gbl...
<<I'd like to debug these scripts at the comfort of my workstation, and not
rely on the end-users interaction in this process, except for the initial
error report. My problem is that since I have Domain Admin rights,
everything works fine for me. It usually boils down to a simple permission
somewhere, but that's hard to track when I don't have any errors I can see
at my workstation..

So my question is:

Is there some way I can impersonate a specific users login, in order that I
can test what exactly happened on their end? I'd prefer not to have to
change their password.>>

In addition to Dan's suggestion, another technique that I've used, create a
test account with equivelent permissions to your end users. Drop a shortcut
to Query Analyzer on the desktop. Right click, the QA shortcut and choose
RunAs, enter the domain\testname & password. You are now runnin the QA
session in the context of your test account.

Steve



Relevant Pages

  • [Full-Disclosure] IE is just as safe as FireFox
    ... >> a shortcut to firefox.exe on user desktops. ... > Can the executable reside on the workstation with the settings stored ... In my case, executable doesn't recide on workstation, it's placed on ... network file server. ...
    (Full-Disclosure)
  • Re: Networked Office
    ... 1- I put all the executable file as well as dll on the server to share with ... 2- I just create a shortcut and registry setting and voila I can ran the ... NO INSTALLATION PROCESS ON THE WORKSTATION AND NO ... EXEC and DLL files COPIED TO WORKSTATION? ...
    (microsoft.public.office.setup)
  • Re: Networked Office
    ... 1- I put all the executable file as well as dll on the server to share with ... 2- I just create a shortcut and registry setting and voila I can ran the ... NO INSTALLATION PROCESS ON THE WORKSTATION AND NO ... EXEC and DLL files COPIED TO WORKSTATION? ...
    (microsoft.public.windows.server.general)
  • Re: Networked Office
    ... 1- I put all the executable file as well as dll on the server to share with ... 2- I just create a shortcut and registry setting and voila I can ran the ... NO INSTALLATION PROCESS ON THE WORKSTATION AND NO ... EXEC and DLL files COPIED TO WORKSTATION? ...
    (microsoft.public.windows.server.sbs)
  • Re: Opening .exe file
    ... The correct executable is being linked, I cant see where the problem is as its just a shortcut. ... "Malke" wrote: ... > programs need files to be installed on the workstation, ... > give you more specific advice except to call the program's tech support ...
    (microsoft.public.windowsxp.general)