Set the Hypersnap 7 License file as readable for all Users
| 0 Votes |
Description
Property Details
| 770 | |
| Set the Hypersnap 7 License file as readable for all Users | |
| BESC | |
| Internal | |
| jgs194 | |
| 2/24/2012 12:00:00 AM | |
| Hypersnap License Users license readable | |
| True | |
| jgstew on 12/6/2012 9:24:28 PM | |
| jgstew on 12/6/2012 9:24:28 PM | |
| 6985 Views / 9 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system
| Used in 2 fixlets | * Results in a true/false |
exists key whose (value "DisplayName" of it as string as lowercase contains "HyperSnap" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry
| Used in 2 fixlets | * Results in a true/false |
exists value "UninstallString" whose (it as string as lowercase contains "hpruninst.exe") of key whose (value "DisplayName" of it as string as lowercase contains "HyperSnap" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry
| Used in 2 fixlets | * Results in a true/false |
exists file (value "UninstallString" whose (it as string as lowercase contains "hpruninst.exe") of key whose (value "DisplayName" of it as string as lowercase contains "HyperSnap" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry as string)
| Used in 1 fixlet | * Results in a true/false |
exists file (pathname of parent folder of file (value "UninstallString" whose (it as string as lowercase contains "hpruninst.exe") of key whose (value "DisplayName" of it as string as lowercase contains "HyperSnap" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry as string) & "\HprSnap7.hs7lic")
| Used in 1 fixlet | * Results in a true/false |
1179817 != effective access mode for "Users" of dacl of security descriptor of file (pathname of parent folder of file (value "UninstallString" whose (it as string as lowercase contains "hpruninst.exe") of key whose (value "DisplayName" of it as string as lowercase contains "HyperSnap" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry as string) & "\HprSnap7.hs7lic")
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Reference: http://forum.bigfix.com/viewtopic.php?id=372Success Criteria
// Reference: http://technet.microsoft.com/en-us/library/bb490872.aspx
// cacls.exe is a command line utility for changing security permissions for files or folders
// /t : Changes DACLs of specified files in the current directory and all subdirectories.
// /e : Edits a DACL instead of replacing it.
// /g User : permission : Grants access rights to the specified user.
waithidden cmd.exe /C cacls.exe "{(pathname of parent folder of file (value "UninstallString" whose (it as string as lowercase contains "hpruninst.exe") of key whose (value "DisplayName" of it as string as lowercase contains "HyperSnap" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry as string) & "\HprSnap7.hs7lic")}" /E /G Users:R
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |

