Re: WRITE PERMISSION on FOLDERS and SUB-FOLDERS

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 07/26/04


Date: Mon, 26 Jul 2004 14:43:57 +0200

Tabacaru wrote:

> Is there any possibility to change the permision of a FOLDER (and all
> sub-folders) in WRITE for all users ?
> The VBS is run buy a non user admin !
Hi

If Active Directory domain:

You could do it in a computer startup script (with a GPO) that runs
as part of the boot up process (before the user logs in). It runs
under the system context and has admin rights.

 From a VBScript, you could e.g. use the Run method and launch cacls.exe.

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx


Relevant Pages

  • Re: Admin rights
    ... The developers here at work do not want to listen and think that giving the user admin rights is the best solution. ... I can think a more that a couple of reasons not to give all the users local admin rights but that is a different post. ... My question is other then scripting RunAs with VBscript to run the app is there any way to give the users admin like rights for just that app. ... Right click on the folder, Properties and select Security tab, select Users and then check mark Allow next to Full Control and click Apply. ...
    (microsoft.public.windowsxp.general)
  • Re: Learning
    ... It's somewhat confusing because VBS on Windows ... The early VBS was only a limited browser DOM scripting. ... The Windows Script Host, wscript, has functions of ... is documented in the vbs help file. ...
    (comp.lang.basic.visual.misc)
  • Re: Vbscript script file
    ... Creates a new file with extension .VBS. ... I-Worm.LoveLetter is Internet worm written in the scripting language ... Windows Scripting Host is installed. ...
    (microsoft.public.windowsxp.general)
  • Re: Question about VB scripting
    ... application, copy it, open notepad, and paste it there. ... Note that VBA and VBS are both based on Visual Basic, ... It's scripting capabilitys could ... be very similar to plain VBScript, or it could be quite different. ...
    (microsoft.public.scripting.vbscript)
  • Re: Problems in Waiting for Web page to Open
    ... Michael Harris escreveu: ... not sure if you are saying that vbs just simply CANNOT do ... Microsoft MVP Scripting ...
    (microsoft.public.scripting.vbscript)