Re: File Permissions
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Fri, 23 Sep 2005 12:48:23 -0400
On Fri, 23 Sep 2005 07:07:01 -0700, Alex Kuhl <Alex Kuhl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>I have a logon script that must copy an .exe from one of our servers. The
>script runs wonderfully for someone who has administrator rights. However,
>normal users get an error box about permissions being denied. I do not want
>to give them permissions to edit the file so that my script works. Is there
>a way I can impersonate Administrator or something similar in the script to
>be able to do this? The script is a WSH file written in VBScript. Note that
>I have already tried using a GPO to assign it as a logon script on both a by
>computer and by user basis only to have it fail through those methods also.
>Thanks!
See tip 7258 » CPAU freeware is a RunAs replacement that lets you specify the password on the command-line.
in the 'Tips & Tricks' at http://www.jsifaq.com
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- Prev by Date: Delete Software
- Next by Date: Simple script to use from a vpn connection.
- Previous by thread: Delete Software
- Next by thread: Re: File Permissions
- Index(es):
Relevant Pages
|