Want to setup a GPO to create a share in all servers with the same unc path windows 2008

Posted on 2011-10-11
Last Modified: 2012-05-12
I have about 50 servers in production all of which use the same path to store logs.  c:\logs
I would like to setup a quick access to all the servers \logs folder for our dev team by enabling RO access to the folder.  My initial thought was to create a GPO that will automatically share this folder for all servers then assign my "logshare" user account i created to have RO access to that folder.  

thoughts on how to do this?  Maybe better ideas.
Question by:YankeeFan03

    Author Comment

    I found the network shares gpo optin under the preferences-windows settings section but have not used this before so wanted to check and leverage some experts.
    LVL 6

    Accepted Solution

    You can try it the old school way. Make a cmd running at computer startup. Assign in with a GPO

    @echo off
    If not exist c:\logs mkdir c:\logs
    (net share | find "logsharedfolder") && goto ShareExists
    (net share logfiles=c:\logs /GRANT:COMPUTER_or_DOMAI\logshare,read) && goto ShareExists
    net share | find /i "logsharedfolder"

    I never used windows / preferences GPO settings to create shares, so can't help you with this one
    LVL 21

    Assisted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Wish Marketing would stop bothering you?

    Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

    I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This tutorial will show how to inventory, catalog, and restore media from legacy versions of Backup Exec into both 2012 and 2014 versions of the software. Select Storage from the tabs along the ribbon bar as the top: Ensure the proper storage devi…
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now