The first type of error occurs when the file name or path has spaces and you forget to enclose it in double quotes.
The second error type is security related, as the error message states you don't have "act as part of the operation system permissions" If you are an admin, don't assume that your account has all possible permissions. Certain permissions are not given to anybody, by default and "act as ..." is one of them. Give yourself the required permissions using the Active Directory or Local Security Policy tools depending on your logon type.
: I was wondering if you have fingured out the issue. I was searching for a
: "runas" utility that could pass the password of the user and
: this seems great.
: What I have run, after setting up the authenticated user and the program
: running account is that, depending on the file I get an error message
: saying that "Error #2: The system cannot find the file
: specified." OR it will give me anoteher RunAs myst "Act as part
: of the operating system" error message.
: The path is a local path and availble to all users. In fact testing, the
: "running" account is part of the admin group. Other files that
: are also local (for exampe c:\Util\programname.exe) just gives the system
: rights error
: It seems a great utility though, thanks : )
|