Re: Logon Script Elevated Privileges
- From: "Jeremy" <jeremy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 27 May 2007 07:38:50 +1000
The only way to do this would be to wrap the script up in an MSI then deploy it with GPO software deployment.
Although it occurs to me that you could give the users enough permissions on the root folder to create the folder, then specify the ACTUAL permissions you want them to have on the subfolder via a CREATOR/OWNER entry. The permissions would be:
Users: List Folder/Read Data, Create Folders/Append Data: This folder only
CREATOR/OWNER: Read, Execute and Write (AKA Modify minus Delete): Subfolders and files only.
This way I think your script would work when run in the user's context.
Then again it might not be suitable for your needs.
Cheers,
Jeremy.
"tsalciccia" <tsalciccia@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:EB081EC8-46A2-4C69-85F0-A89BDDCC2C72@xxxxxxxxxxxxxxxx
I am trying to find out if I can run a logon script for a low-level users out
of a GPO using elevated privileges. The purpose of the script is to determine
if the user has a directory in a local folder hierarchy, create the directory
and sub directories for that user if those folders don't exist, and then
secure that user's folders/subfolders using xcacls.vbs.
At the root of the folder hierarchy the user will only have the ability only
to see the first level of subdirectories under the root. In other words, they
will only have read permissions, read attriutes, traverse folder, read
extended attributes, and list folder only on the top level of the folder
hierarchy.
The point is to run the script with sufficient privileges to create a users
folder and subfolders (%username%, %username%\work, %username%\backup,
%username%\personal) and secure those folders. The permissions model is tight
- the users don't have delete privileges in the work directory, etc.
Is there any way to have that logon script run with local admin privileges
(or some other elevated level) without any interaction by the user logging on?
.
- Follow-Ups:
- Re: Logon Script Elevated Privileges
- From: Rob
- Re: Logon Script Elevated Privileges
- Prev by Date: Re: Power Management GPO?
- Next by Date: Re: Users Don't Have Access to My Documents in Office Applications
- Previous by thread: Re: No GP plugin on MMC 3.0 ??!!??
- Next by thread: Re: Logon Script Elevated Privileges
- Index(es):
Relevant Pages
|