Recording Share History

Page 1 of 2 12 LastLast

  1. Posts : 20
    Windows 7 64-bit
       #1

    Recording Share History


    Is there a way to create a log that records any activity when someone (including network Admin) accesses or at least tries to access a shared folder or drive on your computer? It would be nice to be able to log all the activity that takes places with Shared folders and any possible Remote Desktop connection that takes place without my knowledge.
      My Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #2

    This is possible using Windows 7 built-in Group Policy Editor, included in Seven Professional, Ultimate and Enterprise editions. There are also several third party alternatives, for instance ShareAlarmPro.





    Here's how to audit network access:
    1. Open Group Policy Editor by typing gpedit.msc to Start menu's search field or Run dialog window and hit Enter
      .
    2. Go to Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies Audit Policy, double click to open Audit Object Access

      Recording Share History-audit_1.png
      .
    3. Check both options (Success and Failure) under Audit these objects, click OK

      Recording Share History-audit_2.png
      .
    4. Close Group Policy Editor
      .
    5. Open the Properties of a shared folder you want to audit, choose Security tab, click Advanced

      Recording Share History-audit_3.png
      .
    6. Choose Audit tab, click Continue

      Recording Share History-audit_4.png
      .
    7. Click Add, click Locations to choose from which location you want to audit, write the computer name and name of a user or group you want to audit, for instance PC-3\Administrators or XPPro-upstairs\Kari. Click Check names to "spellcheck", to check validity of your input

      Recording Share History-audit_5.png
      .
    8. Click OK to close Select User or Group dialog, click OK to close Advanced Security Settings, click OK to close Folder Properties
    That's it. To read audit log, open Event Viewer by typing Event Viewer to Start menu's search field or Run dialog window and hit Enter. Go to Windows Logs > Security

    Recording Share History-audit_6.png

    Any further questions, don't hesitate to ask.

    Kari

    EDIT: I thought this is an important enough issue to make a tutorial. Please post all possible questions directly to the tutorial thread to keep it concentrated in a place. Tutorial is here: Audit (log) access to shared folders
    Last edited by Kari; 08 Nov 2010 at 06:01.
      My Computer


  3. Posts : 20
    Windows 7 64-bit
    Thread Starter
       #3

    Thanks for getting back to me Kari, I really do appreciate it!

    When I go to the Properties of the shared folder I want to audit I get the following error...."This has been shared for administrative purposes. The share permissions and file security cannot be set." Are there any workarounds to this problem? I have Admin network access, so maybe you can point me in the right direction as to where I should look to correct this problem?

    Up to this point whenever I log into Windows I basically go into the default Shares and select Stop Sharing. I’ve assumed this has kept out anybody who wants to access my computer but I can’t be too sure.
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #4

    I'm not sure but could this be so simple that you answered your own question? If share service is stopped, you can not set permissions.
      My Computer


  5. Posts : 20
    Windows 7 64-bit
    Thread Starter
       #5

    I don’t think I’ve stopped the Shared Service, just the default drives that pop up every time the machine is rebooted. Can the Sharing Service be stopped? If so, where?
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #6

    To stop sharing:

    Recording Share History-stop_sharing.png

    Of course you have to do this for every enabled NIC, for instance if you have both LAN and WiFi connected at the same time, you have to stop sharing in both of them.

    I misread your post, I tought you were talking about this feature. Anyway, logically thinking there could be something in this procedure of yours, first stop sharing by turning it manually off folder by folder, then when you try to change global sharing or security settings there is nothing to share i.e. nothing to change.

    Kari
      My Computer


  7. Posts : 20
    Windows 7 64-bit
    Thread Starter
       #7

    And simply by turning off the File and Print Sharing in the Properties, this eliminates someone connecting to your computer via Shared Folder or Remote Desktop?
      My Computer


  8. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #8

    Sharing, yes. Remote Desktop, no, it's here:

    Recording Share History-remote.png

    Kari
      My Computer


  9. Posts : 20
    Windows 7 64-bit
    Thread Starter
       #9

    Here's what mean says. Any work arounds or things I can disable in the Group Policy to change this setting?
    Attached Thumbnails Attached Thumbnails Recording Share History-screen_shot.png  
      My Computer


  10. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #10

    Here:

    Recording Share History-firewall1.png

    Recording Share History-firewall2.png
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:31.
Find Us