Loading jquery to console and removing background

#fix for stsadm.blogspot.ru/2007/11/export-import-and-update-list-fields.html – to remove redirection popup and background, preventing from interacting with text

var jq = document.createElement(‘script’);
jq.src = “http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js”;
$(“#RedirectPanel”).css( “display”, “none” );
$(“#ModalRedirectBackground”).css( “display”, “none” );


Loading jquery to console and removing background

Upload large files to SharePoint


  • Central Administration
  • “Manage Web Applications”
  • Select desired web application row (don’t click on the title, just select)
  • “General Settings” in the ribbon
  • Under Maximum Upload Size, change the setting to the desired value (e.g. 200 MB in our example)
  • “OK”


Increase the IIS7 request length

%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:valueInBytes

200 MB =  200x1024x1024=209715200 bytes.



  • Open IIS
  • Select the Web Application
  • Click on Advanced Settings
  • Expand Connection Limits
  • Set the new value for Connection Time-out (seconds)
Upload large files to SharePoint

Change SharePoint product key (unsupported!)

So you feel like entering a new product key.  Say you used that MSDN key in production, and now want to enter the product key.  Well, according to Central Administration –> Upgrade and Migration –> Convert License Type, you can’t!  The Product Key field is greyed out.

Of course, there is a way around this, but…


Connect to your SQL Server and your Configuration Database.  After taking a backup of your Configuration Database, run the following query:

UPDATE Objects
SET Properties = Replace(Properties, 9223372036854775807, 92233720368547758)
WHERE ClassId = ‘4274DBC4-7D52-474F-961B-58D84F5C28FF’


Now, when you go to Convert License Type, you’ll notice that your product says it is a Trial, and it gives you the opportunity to enter a Product Key.  Once the new Product Key is entered, your license will now expire one nanosecond prior to 1/1/10000.

Again, this is completely unsupported.  In fact, the only supported way to change your product key is to rebuild your farm.  So don’t do the above.

Change SharePoint product key (unsupported!)

SharePoint PowerShell – send email

$web = Get-SPWeb http://len-shareappt
$site = Get-SPSite http://len-shareappt
$subject = “test”
$user = Get-SPUser energo\soloviev.sp -Web http://len-shareappt

$body = ‘Уважаемый(ая)’ + $site + ‘!’;
$body+= “<br />” + $site + ‘истекает срок выполнения поручения’;

$arr = $body.Split(“`n”)


SharePoint PowerShell – send email