Disable "Allow files on this drive to have contents indexed in addition to file properties" for Mointpoints

Hey Guys,
I wandt to optimize all our SQL Servers and so I want to disable the  "Allow files on this drive to have contents indexed in addition to file properties" option in the Volume Properties. 
The SQL Server is installed under D:\SQLSERVER which is a normal folder.
For the root and sub directories d:\ the following solution works:
https://social.technet.microsoft.com/Forums/en-US/bf99c428-7fbc-4cd5-9a4a-0c6b69e906ab/disable-allow-files-on-this-drive-to-have-contents-indexed-in-addition-to-file-properties?forum=ITCG&prof=required
But we have Mountpoints for the Data and Log Files under D:\SQLUSRDATA and D:\SQLUSRLOG. When I use the NotContentIndexed Attribute on this direcotry there is no error message. But when I go to  Properties of the Mountpoint folder under General >
Properties The "Allow files..." option is still activated. 
Is there a solution to deactivate Indexing on Mointpoints via Powershell?

Your question has nothing to do with scripting.
I recommend that all SQLServer systems have a GP applied that sets the minimum requirements for the server.  This would include disabling the indexing service which serves no purpose on a SQLServer based system.  You should also disable all AV
scanning of SQLServer folders as this can create performance issues and may make SQLServer unstable.  Many AV products will skip database files on purpose.
The indexer will not index SQLServer files unless you have altered its behavior so, mostly, what you are doing is unnecessary.
Post you issues in the SQLServer forum to get the latest requirements and settings for you implementation.
Again thisis not a scripting issue and it should not bemanaged via a  script.  It is a deployment issue and should bemanaged in that way.  YOu can use PowerShell V4 and later DSC SDK to set a standard "Desired State" for you SQLServers. 
Use of DSC with  SQLServer should also be worked out with the SQLServer forum MVPs and others there.
¯\_(ツ)_/¯

Similar Messages

  • Every time I try to print from word.mac it tells me that it can't save the file because I don't have permission then it closes the file. what do I do?

    Everytime I try to print a doc from word.mac it tells me that it can't save the file because I don't have permission then closes the file. What do I do to change this?

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • I cannot BUY any iPhoto products. Every time I try to submit something, I get an error message - A coonection could not be established at this time - I have been trying to buy a photo book for 2 days now with no success. I am using iPhoto 09

    I cannot Buy any products from my iPhoto 09. Every time I try to submit something, I get an error message - A connection could not be established at this time. There is nothing wrong at all with our internet connection, and I have been through all the suggestions on the Apple help page, and spent 2 hours on the phone this morning getting passed round various call centres. They claimed they had not heard of this problem before. I successfully purchased a calendar in Dec with no problems at all - so I just don't understand!

    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    then boot into safe mode and try again
    LN

  • I cannot open a RAF file in my CS4 . Have downloaded RAF 6.2 on my PC for a Fuji Finepix HS10

    djh139z

    you need camera raw 6.2 or better.
    your cs4 program is probably not compatible with that version of camera raw, but what cs4 program are you trying to use with that raf file?
    if, for example, you're trying to use photoshop cs4, it cannot be updated beyond cr 5.7.  you can, however, use the dng converter, https://blogs.adobe.com/lightroomjournal/2013/06/camera-raw-8-1-and-dng-converter-8-1-now- available.html

  • HT4061 Hello my name is George.  I have a new replacement 5S that I received this morning.  At this time I have been backing it up from the cloud for over 3 hrs, is this normal?

    Backing up my replacement 5S has taken over three hours and progress indicator is at approx 15%.  Is this normal? Can I disconnect and return to the genius bar for a quick fix?  Can someone provide direction.  Thank you.

    Hey George,
    This is the information from Apple that addresses iCloud restore times:
    The restore process is taking a long time to finish.
    The amount of time needed by the restore process depends on your geographical location and the speed of your Internet connection. Even with a fast Internet connection, the restore process may need 1 to 4 hours per gigabyte to complete.
    If you're traveling between countries, the restore process may require more time than usual. iCloud is tuned to provide the best service when you're in the geographical location from which you most frequently connect to the Internet. When restoring from an iCloud backup, iCloud is tuned to provide the best service in the geographical region you were in when you created the backup.
    from: iCloud: Troubleshooting restoring an iCloud backup
    http://support.apple.com/kb/ts4036
    Cheers,
    Delgadoh

  • Ability to use special URL to the file inside HTMLResources in a Web Content Overlay's "URL or File" field

    Hi guys,
    Here is the idea of this:
    https://forums.adobe.com/thread/1712927#7217892
    Thanks.

    Don't now if it's the recommended way, but we're doing this with the context-param elements of the web.xml file.
    Example :
    <web-app>
    <display-name>MyWebApp</display-name>
    <description>
    A sample Web Application
    </description>
    <context-param>
    <param-name>driver</param-name>
    <param-value>org.postgresql.Driver</param-value>
    </context-param>
    <context-param>
    <param-name>url</param-name>
    <param-value>jdbc:postgresql://mydbhost/mydbname</param-value>
    </context-param>
    <context-param>
    <param-name>user</param-name>
    <param-value>dummy</param-value>
    </context-param>
    <context-param>
    <param-name>password</param-name>
    <param-value>garbled</param-value>
    </context-param>
    <session-config>
    <session-timeout>60</session-timeout>
    </session-config>
    </web-app>
    In our Web application, we read those values in the following way :
    public class MySVCImpl implements ServiceLifecycle, MySVCIF {
    public void init(Object context) {
    ServletEndpointContext seContext = (ServletEndpointContext) context;
    ServletContext sContext = seContext.getServletContext();
    String driver=sContext.getInitParameter("driver");
    String url=sContext.getInitParameter("url");
    String user=sContext.getInitParameter("user"),
    String password=sContext.getInitParameter("password"),
    Hope this helps.
    Mark

  • (final cut pro x 10.0.9 )After numerous troubleshooting tips, I am still getting the dreadful your disk have ran out of space, your events have moved or permissions have changed. This happened after I moved some files to another drive. They won't relink?

    (final cut pro x 10.0.9 )After numerous troubleshooting tips, I am still getting the dreadful your disk have ran out of space, your events have moved or permissions have changed. This happened after I moved some files to another drive. They won't relink eventhough the files are there.

    (final cut pro x 10.0.9 )After numerous troubleshooting tips, I am still getting the dreadful your disk have ran out of space, your events have moved or permissions have changed. This happened after I moved some files to another drive. They won't relink eventhough the files are there.

  • HT1751 Currently all my iTunes library is saved in the "cloud". I want to save it on my computer's hard drive. How do I do this? I have a Window's laptop.

    Currently all my iTunes library is saved in the "cloud". I want to save it on my computer's hard drive. How do I do this? I have a Window's laptop.

    Hello bfarrow1,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Access your complete iTunes music library at any time on all of your computers and iOS devices
    http://support.apple.com/kb/PH2719
    To download songs from your iCloud library to a computer:
    In iTunes, select Music (below Library).
    If a song is available for download, it has a Download button next to it. To download the song, click the Download button.You can also play a song that’s available for downloading by double-clicking it. The song downloads as it plays.
    Best of luck,
    Mario

  • Can a computer crash disable (break) an external hard drive?

    Can a computer crash disable (break) an external hard drive (FW800)?
    My mac pro started to see programs crash. First one, that wouldn't 'force quit', then a minute later a second. This had happened before last year, so i started quitting apps to restart. At the end, half of them i succeeded to quit and about 4 wouldn't quit. The finder was frozen/crashed, no dock or apple menu or any menu for that matter. The mouse moved. i could shortcut 'force quit' and 'return' on default OKs.
    So i powerbuttoned down. On rebooting, the volumes on the Mercury Elite* unit in question didn't mount. I looked for them with disk utility but nothing. So i then examined the unit. A soft clicking noise was emanating and the power adapter was HOT!
    The two drives are now in the mac pro internally and are working fine. But before i took them out, i tested the pins on the power adapter with a voltmeter, according to the schematic on the adapter itself and i got 5,5v on the one side and 13 odd v on the other. Apparently what's supposed to be coming out. (5v and 12v)
    Can a powerbutton shutdown shoot electricity through the FireWIre bus? Any ideas?
    http://eshop.macsales.com/item/Other%20World%20Computing/MEFW924AL2K/

    Can a computer crash disable (break) an external hard drive (FW800)?
    No, but it could damage files or the directory structure, so the drive wouldn't mount. Disk Utility should be able to fix it by erasing or partitioning, but you would lose the data on the drive.
    My mac pro started to see programs crash. First one, that wouldn't 'force quit', then a minute later a second. This had happened before last year, so i started quitting apps to restart. At the end, half of them i succeeded to quit and about 4 wouldn't quit. The finder was frozen/crashed, no dock or apple menu or any menu for that matter. The mouse moved. i could shortcut 'force quit' and 'return' on default OKs.
    You may have bad RAM, or other hardware problems. Have you run the extended Apple Hardware Tests. Boot from the install DVD while pressing "D". Try removing any non-Apple RAM modules.
    I tested the pins on the power adapter with a voltmeter, according to the schematic on the adapter itself and i got 5.5 V on the one side and 13 odd V on the other. Apparently what's supposed to be coming out. (5 V and 12 V)
    Some power supplies will put out more than the rated voltage if there is nothing attached, but 5.5 V and 13 V are not high enough to cause damage, anyway.
    Can a powerbutton shutdown shoot electricity through the FireWIre bus?
    No.

  • File On Hard Drive has changed...

    ...since last saved, are you sure you want to save?
    This is an error message I keep getting while working in Photoshop and hitting command save (done from memory so probably not 100% accurate). It only happens when saving to a specific external hard drive and intermittently, not all the time. This happens maybe 10% of the time and for different files, so it isn't a specific file.
    Anyone have any idea why a file would be changed on the hard drive while I'm working on it in Photoshop?
    This is not my scratch disk but I do have Time Machine backing it up. I've run Disk Warrior to repair the directory with no change.
    I have recently had 2 Photoshop files on this drive go bad, Photoshop saying it reached an unexpected end of file.
    So I'm assuming the drive itself is having some problems (only a year old). My next move is to wipe the drive and reformat it and zero it out, then copying all my files back (after cloning the drive of course). I'm just checking in here to see if this might be a specific problem that someone knows how to fix before going to all that trouble.
    Kevin

    I also changed my user name.Dont know if this has had anything to do with whats happend.
    ive tried changing it back but it wont change back to the new one (which is the original)

  • Help getting 200GB file off seagate drive that keeps ejecting itself

    here is the problem...
    I have a G5 running 10.5.8
    I have a Seagate Freeagent drive 1.5TB that keeps going to sleep and ejecting itself....
    I have an iPhoto file that is in excess of 200 GB.
    I want to get it OFF this drive and move it to a stable drive - but every time I try to copy/transfer it the drive ejects...
    How the heck do I move the iPhoto file off this drive? there seems to be NO fix for the seagate issue.
    HELP! thanks,
    Jen

    You won't like or want to hear this, but I would never buy name brand external drive cases like Seagate or Maxtor, too many problems, want to avoid proprietary and other issues. And they are troublesome.
    iPhoto files are package bundles - just a whole lot of nested files and folders, not a single 200GB file.
    Clone the whole drive or portion thereof using software backup or cloning software.
    Would be nice if you could just remove the SATA drive and pop it into the G5 or into another FW case.

  • How do i make firefox automatically open a file. "Do this automatically with files like this from now on." does NOT work.

    I have firefox set to Open .wav files with VLC and i have the check box marked to "Do this automatically for files like this from now on." But every time i click download for a .wav voicemail from gmail, i get the same dialog box. I just want firefox to hand the downloaded file to VLC and play it. I don't want to have to click anything after i click the download link. Isn't that action what i'm telling firefox to do after i mark the checkbox with "Do this automatically with file like this from now on." ? Isn't that implied with my selection of the box? How can i fix this?i want to click a "download" link for a .wav voice mail in Gmail and have it automatically play in VLC without any further interaction from me.

    No it's saving the preferences and the check box remains checked from session to session. It will even continue to ask me to what to do with the file even in the same session when i try to download the same file again 5 seconds after i downloaded it the first time.

  • SCOM reports "A significant portion of the database buffer cache has been written out to the system paging file. This may result in severe performance degradation"

    This was discussed here, with no resolution
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/bb073c59-b88f-471b-a209-d7b5d9e5aa28?prof=required
    I have the same issue.  This is a single-purpose physical mailbox server with 320 users and 72GB of RAM.  That should be plenty.  I've checked and there are no manual settings for the database cache.  There are no other problems with
    the server, nothing reported in the logs, except for the aforementioned error (see below).
    The server is sluggish.  A reboot will clear up the problem temporarily.  The only processes using any significant amount of memory are store.exe (using 53GB), regsvc (using 5) and W3 and Monitoringhost.exe using 1 GB each.  Does anyone have
    any ideas on this?
    Warning ESE Event ID 906. 
    Information Store (1497076) A significant portion of the database buffer cache has been written out to the system paging file.  This may result in severe performance degradation. See help link for complete details of possible causes. Resident cache
    has fallen by 213107 buffers (or 11%) in the last 207168 seconds. Current Total Percent Resident: 79% (1574197 of 1969409 buffers)

    Brian,
    We had this event log entry as well which SCOM picked up on, and 10 seconds before it the Forefront Protection 2010 for Exchange updated all of its engines.
    We are running Exchange 2010 SP2 RU3 with no file system antivirus (the boxes are restricted and have UAC turned on as mitigations). We are running the servers primarily as Hub Transport servers with 16GB of RAM, but they do have the mailbox role installed
    for the sole purpose of serving as our public folder servers.
    So we theroized the STORE process was just grabbing a ton of RAM, and occasionally it was told to dump the memory so the other processes could grab some - thus generating the alert. Up until last night we thought nothing of it, but ~25 seconds after the
    cache flush to paging file, we got the following alert:
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          8/2/2012 2:08:14 AM
    Event ID:      17012
    Task Category: Storage
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HTS1.company.com
    Description:
    Transport Mail Database: The database could not allocate memory. Please close some applications to make sure you have enough memory for Exchange Server. The exception is Microsoft.Exchange.Isam.IsamOutOfMemoryException: Out of Memory (-1011)
       at Microsoft.Exchange.Isam.JetInterop.CallW(Int32 errFn)
       at Microsoft.Exchange.Isam.JetInterop.MJetOpenDatabase(MJET_SESID sesid, String file, String connect, MJET_GRBIT grbit, MJET_WRN& wrn)
       at Microsoft.Exchange.Isam.JetInterop.MJetOpenDatabase(MJET_SESID sesid, String file, MJET_GRBIT grbit)
       at Microsoft.Exchange.Isam.JetInterop.MJetOpenDatabase(MJET_SESID sesid, String file)
       at Microsoft.Exchange.Isam.Interop.MJetOpenDatabase(MJET_SESID sesid, String file)
       at Microsoft.Exchange.Transport.Storage.DataConnection..ctor(MJET_INSTANCE instance, DataSource source).
    Followed by:
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          8/2/2012 2:08:15 AM
    Event ID:      17106
    Task Category: Storage
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      HTS1.company.com
    Description:
    Transport Mail Database: MSExchangeTransport has detected a critical storage error, updated the registry key (SOFTWARE\Microsoft\ExchangeServer\v14\Transport\QueueDatabase) and as a result, will attempt self-healing after process restart.
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          8/2/2012 2:13:50 AM
    Event ID:      17102
    Task Category: Storage
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      HTS1.company.com
    Description:
    Transport Mail Database: MSExchangeTransport has detected a critical storage error and has taken an automated recovery action.  This recovery action will not be repeated until the target folders are renamed or deleted. Directory path:E:\EXCHSRVR\TransportRoles\Data\Queue
    is moved to directory path:E:\EXCHSRVR\TransportRoles\Data\Queue\Queue.old.
    So it seems as if the Forefront Protection 2010 for Exchange inadvertently trigger the cache flush which didn't appear to happen quick or thuroughly enough for the transport service to do what it needed to do, so it freaked out and performed the subsequent
    actions.
    Do you have any ideas on how to prevent this 906 warning, which cascaded into a transport service outage?
    Thanks!

  • Cannot rename files, folders and drives

    tried to GRAB the error message, and it's hanged when I tried to save the image.....
    There are problems on rename files, folders and drives, also have problem to delete things....
    what can I do.....!!!!

    Ok, finally i just reboot the machine and it is fine now.
    I guess there are some bugs related to the user permissions...
    Indeed, I encountered a few bugs and they were fixed by rebooting the machine.
    More details: I am using a early 2008 version mac pro with mountain lion and upgrade os to mavericks last nite.
    At first, it cannot connect to my wifi network, it kept asking me to enter password for my network but kept saying it s failed. After trial to fix it by a few methods which were failed, i gave up and reboot, and vala~ It worked again..
    Then i tried to rename my system drive as it was named "mountain lion", and i just want to rename it to "mavericks", error popped out, and i found that i cant rename folders or files, or put them in trash.... Again, it worked again after reboot!!!!
    Guys, for those who wannna upgrade to mavericks now, better wait for a few more weeks till some update come up n fix those issues....

  • Can I delete the files in ~/Library/Preferences and have all preferences reset to factory default?

    I have this folder inside my /Library folder called Preferences. I was wondering if I could delete all of the files inside this folder and have all of my preferences reset to the factory default?

    First, why would you want to do this? I ask because all of the applications installed also have preference files. Some of the preference files store things like serial numbers. Some programs that use plugins that use serial numbers also store the serial numbers in the host program's preference file. RapidWeaver is an example of this.
    So, If you deleted all of the files in your preference folder, you could have some major headaches for a while afterward.
    If you are curious, there is a program called AppleJack that only runs in Single User mode. It can check preference files for you. There are several others available that cost money. AppleJack is a free open source application.
    Hope this helps,
    Craig

Maybe you are looking for