Disabling Minimal Download Strategy from PowerShell but still shows feature as "Activated".
I have an interesting issue with the Minimal Download Strategy feature in SharePoint 2013. I have a script in place which will disable this feature on all sites in all site collections on our Farm. The script has been working fine and we schedule it to run
daily at 8PM so that any new sites that get created will have this feature shut off, in case the person who created it forgot to disable it.
As of recently, I've noticed while the script appears to be working fine, we are seeing that new sites are still showing the feature as activated in the "Manage Site Features" page. If I re-run the script, it shows that the feature is disabled
and won't do anything. The script basically steps through all sites of all site collections in our default web application and if the MDS feature is enabled it disables it. Simple enough.
So why am I now seeing sites that show the feature is Activated even though it is disabled? I've checked this by noting the URL that the site uses and it does not load pages from the "_layouts/15/" location.
The reason we have to turn this feature off on all sites is because we allow external users to access our SharePoint through a secure proxy. With this feature enabled, we have constant problems with pages not loading properly or generating javascript errors.
Anyone have any insight into this?
Here is the script we are using. As I mentioned, it works fine. It disables the the "Minimal Download Strategy", however when you go to the site settings it shows the feature is activated.
# This PowerShell script will check all sites of each site collection in
# the default Web Application to see if the MDS (Minimal Download Strategy)
# feature is enabled and if so it will turn it off.
# This script should be scheduled to run once a day to ensure this feature
# is always disabled.
# Register SharePoint Snap-In
$ver = $host | select version
if ($ver.Version.Major -gt 1) {$Host.Runspace.ThreadOptions = "ReuseThread"}
Add-PsSnapin Microsoft.SharePoint.PowerShell
Set-location $home
Write-Host "Script Running at "(Get-Date);
$Default_WebApp = "http://vmsp2k13app.phs.org"
# Get all Site Collections in the default Web Application
$SPSites = Get-SPSite -WebApplication $Default_WebApp
#Cycle through each Site Collection and its Webs (sub-sites)
ForEach($Site in $SPSites){
Write-Host "";
Write-Host "Checking Site-Collection: " $Site.Url;
ForEach($Web in $Site.AllWebs)
Write-Host "";
Write-HOst " Checking Sub-Site: " $Web;
If($Web.EnableMinimalDownload -eq 1)
Write-Host " Minimal Download Strategy is Enabled for this site!";
Write-Host " Disabling....";
$Web.EnableMinimalDownload = 0;
$Web.Update();
Else
Write-Host "";
$Web.Dispose();
$Site.Dispose();
Similar Messages
-
Hi all. I have tried installing itunes and quick time many times and have finally got quicktime but no itunes . I have followed apple support and disabled anti virus and everything etc and also tried installing itunes manually from tools but still get error code. also when getting to apple mobile support and starter etc i get verify that i have sufficient priviledges ? Anyone know what the heck all this is about guys ?????
SadisticIron wrote:
i just baught my first iphone and it is a jalbroken
Buzz! Thank you for playing!
Discussing jailbroken devices is forbidden here by the Terms of Service.
You can not get help here. -
I have removed all unwanted music from my itunes library and then synced my ipad but the music is still there? I tried to delete off the ipad by holding the song down to get the delete but it the delete option isn't there. Nothing happens. How can I remove the unwanted music from the ipad.
If I turn it off can I still sync new music that I buy and want on all devices?
-
Received emails are being deleted from Mail but still showing on webmail!!
Hey people! I wonder if anyone can help?
I hope i'm not missing something really easy here. A couple of weeks ago i thought i was deleting emails from my inbox and then from my trash with no problems and then imagine my surprise when i get a message saying that my mailbox is almost full and i can't receive any messages.
I promptly logged on to a webmail site and entered my details and was greeted with every single email i have received since i got my new mac!! I have rebuilt mailboxes to no real effect and was just wondering if anyone can offer a solution? After all i don't really want to keep having to log on to webmail to delete all my items every few weeks.
Just to add, my email account is with BT and is NOT a .mac account!
I look forward to anyone helping me please?? I'll wash your car in return or something
iMac G5 Core Duo 2GHz Intel Mac OS X (10.4.5) 1.07GHz G4 iBook + Dual 2GHz G5 both running 10.3.9Is the account a POP type account?
If so, go to Mail > Preferences > Accounts and under the Advanced tab for the account preferences, is "Remove copy from server" selected? If yes, what is the setting below?
I use "Right Away" for my POP accounts. -
I couldn't open the files from a Canon XF 300 into Final Cut Pro 7, so I downloade the plugin from Apple but still can't open the files. I opened and clicked on the installer icon. I'm not sure the plugin was actually installed. C
an anyone help?
Message was edited by: BigDealCam123As you probably know the Canon plug-in enables Log & Transfer in FCP7. I'm not sure whether it works with Final Cut Express or not.
Look in Applications>Canon Utilities. I'm running 10.6 as well and that is where it's located on my machine.
Good luck.
Russ -
When ever the Download window opens firefoxes freezes/stops responding. I can't do anything with it. As soon as it opens, no response. I disabled most of my add-ons but still doesn't work. It's only started recently. Maybe a week or so.
So i can't download anything until i figure out how to fix it.When ever the Download window opens firefoxes freezes/stops responding. I can't do anything with it. As soon as it opens, no response. I disabled most of my add-ons but still doesn't work. It's only started recently. Maybe a week or so.
So i can't download anything until i figure out how to fix it. -
I tried reinstalling but with to no avail. It worked well until yesterday so I downloaded new ver.5 but still it won't open. :( Please help.
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
Create a new profile as a test to check if your current profile is causing the problems.<br />
See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)<br />
See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
Systems and Network
2 iMac Intel i5, 8 GB Ram, 1 TB SATA HDD, Mountain Lion (10.8.5 or 10.8.4 )
1 iMac Snow Leopard (10.6.8)
1 Mac pro Intel Xeon, 6 GB Ram, 1 TB HDD, Tiger (10.4.11)
A few power PC G4 Tiger (10.4.11)
1 Linux SME Server 7.5 (Samba Server)
We are works on the Server(Linux). There ara many pictures and Text Files (tif, jpeg, rtf, doc, txt etc.) in server folders.
On the 2 iMac (Mountain Lion)
Text files in the folder have viewed normal(optimum) time. But Pictures in the folder have viewed very slow and very long time.Because showing pictures icon (show icon preview) very slow on the Mountain Lion. We tried List View/ColumnView.We have waited very long time(for pictures in the folder) when we selected a folder every time.
We unchecked show icon preview but still showed icon previews, icon preview (thumbnail) can not disable, We tried "Finder preferences", "View > Show View Options > Show icon preview(unchecked)" and "Show icon column(unchecked)" but still "Show icon preview(checked)" and "Show icon column(checked)"
On the Power PC G4, Mac pro or iMac (Leopar/snow Leopar or Tiger)
Everythings ok. There isn't any problem. Text files and Pictures in the folder have viewed normal(optimum) time
This problem only on the Mountain Lion, on the other OS (Leopar/snow Leopar or Tiger) no problem.
How to resolve this problem?
Best RegardsGood news: I found a solution.
Start iTunes, remove all your voice memos from your library (back them up if you need them), quit iTunes. Restart Finder. Done. I hope that helps! -
I ned help please, I am losing storage space on my iPhone 6 and I am not downloading anything nor upgrading but still my storage dwindles literally by the hour , does anyone know as to why and if so how to stop this please and thank you.
Did you tried any of these basic troubleshooting steps?
Restart / Reset
http://support.apple.com/en-us/HT201559
Restore from backup
Restore as new
http://support.apple.com/en-us/HT201252 -
my itnues for pc is not working it shows that iTunes has stop working,I have downloaded Itnues many times but still it is not working, please help me
Please helppppp
-
I have downloaded songs from CD but I can't get them onto iTouch. I have synced -- nothing. I am using iTunes 11.
Do others songs sync?
Do apps sync?
Do the songs play in iTunes?
How are you syncing? See:
iTunes: Syncing media content to iOS devices and iPod -
I've bought and downloaded music from itunes, but the ends of almost all my songs are cut off and will not play, how can I fix this? Most of the music cuts off abouthalf way through the song, then it skips to the next one. Itunes also says I have not purchased the album though it is listed under my purchased albums. It's incrediabley frustrating, please help.
go to the itunes store. select more in the bottom right select purchased. then press the cloud icon to DL striaght to the phone. Id use wifi. you can also DL into computer then synv over to phone.
-
I have been successfully downloading Aps from CC, but it is stuck at 90% on after effects. It has been stuck since last night. I am on a Mac.
Jonellel53796317 I would recommend reviewing the installation logs for the update which is failing to apply. You can find details on how to locate and interpret the installation log files at Troubleshoot install issues with log files | CC. You are welcome to post any specific errors you discover to this discussion.
-
was asked to update itunes last week and since then itunes won't open, un-installed it and followed the necessary steps then tryed to install it from scratch but still no luck. It says it has been successfully installed, but no sign of it on my computer.
See Troubleshooting issues with iTunes for Windows updates.
tt2 -
I have iPad Air. I want to download games from safari but safari cannot download the file so what should I do??
Hamzy 15 wrote:
And what about the music?
Music comes from the iTunes Store or by Syncing with your computer.
> http://support.apple.com/kb/HT1386
Maybe you are looking for
-
Hyperlink failure on last pages of PDF (exported from InDesignCS)
Per Bill@VT from the Acrobat Forum, I'm posting my Acrobat/InDesign question here as well. I thank you in advance for any possible assistance: Hello. I have a 211-page catalog I've created in InDesign CS in which I have created hundreds of Hyperlinks
-
Settlement rules not getting created
Hi, During period end, all 2nd level WBS elements are generally settked to AuCs. I had maintained the settlement strategy in such a way that all the WBS elements below 2nd level are settled to its Superior. When i tested this in one of the Client, it
-
Hi, I'd like to display a popup with checkboxes so the user can select multiple seletions. Thanks for any help..
-
Change of Business Area in Line item
My client has posted many documents without assigning Business Area to each line item. When they try to assign in the document overview, the field is grayed out. Can anyone help me in sloving this issue. Lakshman
-
ORA-1502 while skip_unusable_indexes=true
OWB 9.2 We have one mapping that fills the target table in 2 stages: in the first stage the table is filled with INSERT /*+ APPEND */ from several source tables; the target table operator is then used as one of the source tables for the next INSERT /