locked
How can we check programatically whether a security group has been added to the sequencing drive of a stream ? RRS feed

  • Question

  • One of our standard procedures when creating streams is to set a active directory securitygroup (specificly created for the stream) on the acls of the stream's sequencing drive.
    When delivering the application we use a number of automated checks to improve our quality and adherance to procedures and best practices.
    A check on whether the security group was added is also something we would like to impliment when possible. Can this be achieved? If yes, How ?

    Friday, July 22, 2011 1:46 PM

Answers

All replies

  • Hello,

    where is the security group supposed to be added? To a folder?
    /Znack
    Friday, July 22, 2011 1:54 PM
  • On the main installation directory of the application on the Q-drive.
    Friday, July 22, 2011 1:59 PM
  • Not really sure why you would apply it there - but, can't you use a script to that normally queries a folder in the OS and use that on the specific folder on the Q:-drive within the virtual environment?

    For a reference regarding scripting;

    http://www.tmurgent.com/osd_illustrated.aspx


    /Znack
    • Marked as answer by Ikke II Friday, July 22, 2011 2:19 PM
    • Unmarked as answer by Ikke II Friday, July 22, 2011 2:19 PM
    Friday, July 22, 2011 2:10 PM
  • To be more precise on the purpose of the script.
    We want to use it as a script to run as a quality control on the created stream not when launching the stream.

    When using windows installer you had the windows installer that you could use to query the msi databases on there contents.

    Friday, July 22, 2011 2:22 PM
  • File system permissions are held in the package and (as far as I'm aware) can't be changed at runtime, so you should already know the permissions assigned to the package. What are you attempting to achieve by determining file system permissions inside the package?

    The first place to go to find example scripts would be the Script Center on TechNet: http://technet.microsoft.com/en-gb/scriptcenter/default.aspx



    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
    Friday, July 22, 2011 2:23 PM
    Moderator
  • I do not want to change the permissions at runtime, I would like an automated check whether the correct permissions have been applied to the subfolder on the SFTMNT.  I know the permissions that should be applied beforehand.

    How can the contents of the package be unpacked to the SFTMNT to the Q-drive in an automated way so the contents can be checked, or can it be done in another way.

    Friday, July 22, 2011 2:34 PM
  • Try the SFT Parser Tool: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=e5a7db27-304b-4cd1-9c80-7ba5fdaea97f

    or the SFT View tool: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8897

    Not 100% sure if these tools will do the job, but they'll be your best bet.

    Alternatively, take a look at the 3rd party Application Virtualization Explorer: http://www.gridmetric.com/products/ave.html



    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
    • Proposed as answer by znack Saturday, July 23, 2011 10:15 AM
    • Marked as answer by Aaron.ParkerModerator Friday, November 16, 2012 11:17 PM
    Friday, July 22, 2011 2:40 PM
    Moderator