Kaseya Community

Script to change permissions on a workstation.

  • I would like to script permission changes on multiple directories on client workstations. For example, I would like to give full access to:
    C:\Program Files
    C:\windows\temp
    (+ a few others)
    and the reg key: HKLM\Software\

    This is so the end user can install certain updates to applications without granting permission to install full applications. Can i accomplish this with a script?

    Legacy Forum Name: Script to change permissions on a workstation.,
    Legacy Posted By Username: clomele
  • Google "vbscript repository" microsoft has a number of samples there that will let you create a vbscript to adjust permissions. You can't do it with only a Kaseya script, but can use Kaseya to push down the VB and execute it.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: doug.jenkins@ispire.ca
  • Specifically, google for XCACLS.vbs

    I use it all the time for my scripts, and it's really handy

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Charles.IN
  • Thanks guys! Now VB 101 and I am set! ANy pointers on learning basic scripting and stealing code?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: clomele
  • You dont even need to use VB, just point your script to download Xcacls.exe from your Kaseya server and work it from a command line.

    http://support.microsoft.com/kb/318754

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: brotharewt