CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TWDeveloper

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    756

    Need some help finishing my script.

    Hello I am fairly new to Scripting. I need to create a script that Checks Permissions on the shares and see if they match what is specified.
    If one of the permission doesn't match then it should...
  2. Re: Help converting String Function to Boolean Function.

    Nevermind.

    Found what I needed.


    public static bool GetDirectoryAuditControlInformation(string path)
    {
    bool result = false; // assume no SACL info
    StringBuilder info =...
  3. Help converting String Function to Boolean Function.

    Hello,

    In the following code (see code below) I am attempting to convert the function " public static string GetDirectoryAuditControlInformation(string path)" into a Boolean Function. Instead of,...
  4. Re: The Process does not possess the "SeSecurityPrivilege'....

    Okay. Figured out my issue.

    While Using Windows 7 and Visual Studio 10. Not only do you have to be logged in as an admin but you need to run VS10 as an Admin as well.

    Interesting.

    Audit...
  5. The Process does not possess the "SeSecurityPrivilege'....

    Hello,

    Having some trouble running my application. Compiles and Builds fine.
    When I go to Dedug or Execute I receive a "System.Security.AccessControl.PrivilegeNotHeldException was unhandled.
    ...
  6. Opening Ports using .Net Framework 2.0

    http://blogs.msdn.com/b/securitytools/archive/2009/08/21/automating-windows-firewall-settings-with-c.aspx?CommentPosted=true#commentmessage

    Hello,

    I have looked at this article to how to open...
  7. Re: Working with Directories and AccessControl

    Sorry. I realize my post may have been a little confusing. Was trying to get a conversation started without putting too much code in first.

    I have the code in place to have a User input a...
  8. Working with Directories and AccessControl

    Hello,

    I am in search of some assistance with this code I am working on.

    I have developed a Console Application with 2 CommandLine Args, Search Directory for Sacls and Display and search...
  9. Replies
    0
    Views
    682

    Help Obtaining User ACL information

    Hello,

    I was looking for some help with a piece of code that I have been working on.
    I have developed a form in C# that will retrieve group ACL types for a specified Directory.

    I now need...
  10. Re: Using INetFwOpenPorts ports to open FireWall Ports

    Really. So you think it would be more efficient going the scripting route.

    Yeah I have not used PowerShell yet, only VBScripting.

    So this is why I chose to go the C# Console route.

    If you...
  11. Using INetFwOpenPorts ports to open FireWall Ports

    Hello,

    I was hopeing for some assistance with my topic. I am attempting to develop a Console Application using C# that will open

    around 13 Ports on Multiple Windows 2008 Servers. I came across...
  12. System.Security.AccessControl.PrivilegeNotHeldException

    Hello,

    I have developed a Console Application that allows the user to input a Directory Path and
    scans the path for Sacls and removes them.

    This seems to work great when I input any...
  13. Console Application to Remove Sacls from Directories

    Hello,

    I am looking for some input or references regarding a Console application that would take in
    user inputted Share/Directory Name and display the output.

    I have developed a Form...
  14. Re: Checking FileSize and Redirecting Large Files

    Yeah only problem is I have an array where it is locating multiple files from Directory A and if they exceed a certain size it is moving them to Directory B though.

    Think I got it though.
    ...
  15. Re: Checking FileSize and Redirecting Large Files

    Hello,

    I have used the fileinfo.length method successfully.
    I have scanned my directory, displayed all filenames and file lengths.

    I now have one last task to Redirect any files that are >...
  16. Re: Checking FileSize and Redirecting Large Files

    Thank You for the Reply.

    This will help me get off to a great start.
  17. Checking FileSize and Redirecting Large Files

    Hello,

    I am working on a new development tool that would impact Logon/Logoff times,
    as well as increase network bandwidth usage.

    Goal of the project is, for Windows 7, to create a tool that...
  18. Monitor Share Permissions of an APPF servers for shares

    Hello,

    I could use some assistance with this topic. I am trying to design something using .NET that will
    monitor the Share Permissions of an APPF server for Shares Test1$ and Test2$. Both of...
  19. Replies
    5
    Views
    953

    Re: Sort Files by FileSize.

    Excellent. I really appreciate the quick feedback.

    I will attempt to use the sort method now.

    Sorry for the beginner questions. I am trying to get back into the swing of things and it ...
  20. Replies
    5
    Views
    953

    Re: Sort Files by FileSize.

    Thanks for the reply.

    Does the sort() method you provided only work for a Console App though?

    I have developed a Form Application that searches the Directory and SubDirectories, and lists the...
  21. Replies
    5
    Views
    953

    Sort Files by FileSize.

    Hello,

    Looking for some help with sorting files by their filesize.
    I have created a little form App which allows me to Click on the "Browse Directory" button, search which path I want to use...
  22. Question about Enumerating "ALL" shares/Folders

    Hello,

    I am trying to write a C# Console Application that will Enumerate thru my entire Shares/Folders and locate SACL information for me. Then need to remove all SACLs. First thing is first...
Results 1 to 22 of 22





Click Here to Expand Forum to Full Width

Featured