Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. twdeveloper

    Question on designing Multiple Gridviews.

    Hello, So here is my task I am trying to solve, looking for the best way to do this. I have created an aspx page that calls an ascx control page. Now I designed a Gridview which Lists all the "Class Names" (such as classes in school). Now when I select a certain class it takes me to me View...
  2. twdeveloper

    Help getting NewUserLink_Click button to work

    Hello, I have a gerneral question I was hopeing to get some help with. I have built a page with a Tab that has user info. I have a FormView with a Gridview inside and an ASP LinkButton to add a new user. However, when I click on the add a new user button I get an error message stating...
  3. twdeveloper

    Remove a DP from a SCCM Software Distribution Package

    Hello, I could use some assistance on how to Remove Distribution Points (DPs) from my SCCM Packages. I found the following article which seems to do, exactly what I am looking for. Unfortunately though I have run into some issues and need a little help troubleshooting...
  4. twdeveloper

    VBScript and ACLs - Please Help

    Nevermind I got it. I found that there is a objUserGroup.Domain. So I did strDomain = objUserGroup.Domain Added & strDomain & "\" to the strCACLS line.
  5. twdeveloper

    VBScript and ACLs - Please Help

    For the previous post I meant to post the GetShareACL function. Not that it makes too much of a difference.
  6. twdeveloper

    VBScript and ACLs - Please Help

    Geates, Thanks again for all your help with this Script and my learning curve. Everything seems to be in place and working great. One more minor issue/question though. Turns out that one the Permissions needed has been changed from: Users:Read to Builtin\users:Full Control Now I know...
  7. twdeveloper

    VBScript and ACLs - Please Help

    Okay getting some what closer. However, still a little off. So I updated the following line: if (intMatches = ubound(arrPerms) + 1) then verifyACL = true It still seems to return: if (verifyACL(arrACL, arrPerms)) then msgbox strFolder & " has the necessary permissions" even if it...
  8. twdeveloper

    VBScript and ACLs - Please Help

    Hey Geates, Okay I have 2 questions/issues. After doing some testing with the following Functions: function getACL(strFolder) set objShell = CreateObject("WScript.Shell") set objStream = objShell.Exec("%comspec% /c cacls.exe " & strFolder) do until...
  9. twdeveloper

    VBScript and ACLs - Please Help

    Hey Geates, Thanks for all the help. I am really learning this stuff now, which is good. Just trying to wrap my head around this last piece of information. So my script works as planned for checking the Folders and get parsing thru and Verifying the ACL Permissions. Now I am trying to...
  10. twdeveloper

    VBScript and ACLs - Please Help

    Geates, Thank You again, yes I understand the code and this works great. Now if I wanted to run this on Shares does it work the same way? As a Test, I set up some Shares in Computer Management- TEST1$ and TEST2$. I was testing before with SubinAcl. Does the code you provided work the same...
  11. twdeveloper

    VBScript and ACLs - Please Help

    Okay Geates, Here is what I got so far. I took your GETACL function, thank you. I added my parsing code below the function. This outputs the ACLs of the Folder then I parsed in by line with strName and then StrPermission. Now if the part I am stuck on. The IF Statement that allows me to...
  12. twdeveloper

    VBScript and ACLs - Please Help

    I will post my VBScript if that will help but basically The Script will be used to scan DP's on Servers. I really just need something that will Display the ACLs and if all of the ACEs and Permissions are correct, return 0. So say Cacls.exe can be used to list all ACLs on share TEST1$ and...
  13. twdeveloper

    VBScript and ACLs - Please Help

    Hello, I have been tasked to Create a Script to check DP's. Here is the take list: 1.) Determine Domain, DOM1 or DOM2. (That was easy enough) 2.) If DOM1 then Check for existence of share TEST1$ and folder D:\TEST1 (again got this working) 3.) If Share and folder doesn't exist exit with 1...
  14. twdeveloper

    Need Help with a Verification Script....

    Hello, I have developed a few Scripts that sets DCOM Permissions and SETS WMI Permissions. It took me awhile but I eventually figured it out and these scripts work great. Now I want to just do a general Verification Script that can be run and gather the information that was Set so that I can...
  15. twdeveloper

    Help Display Share Permission

    Geates, I am pasting 2 of the log files that my script generates. You can see what kind of information it is producing. Thanks. TW Logfile#1 =================== +Share TestShare$ =================== /control=0x0 /audit ace count =0 /perm. ace count =2 /pace =builtin\administrations...
  16. twdeveloper

    Help Display Share Permission

    Okay sounds good. Thanks Geates. I will post the Log file shortly. This way you can see my results.
  17. twdeveloper

    Help Display Share Permission

    SubinAcl.exe is the tool that runs along with my Script. "SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to...
  18. twdeveloper

    Help Display Share Permission

    Hey Geates, Thanks for the fast reply. I guess I should simplify my question. I basically just need the piece of code/script that will display the Specific Permission (If "builtin/Administrator = FullControl -return True.) How I have it setup right now is that SubinAcl is checking my...
  19. twdeveloper

    Help Display Share Permission

    If one of the permission doesn't match then it should exit out with a specific output (i.e. "Nonmatch" or simply "1"). If they do match then exit out with a 0, extra permissions can be ignored. I am using SubinAcl to get the Permissions. However the script that I have developed display all...

Part and Inventory Search

Back
Top