MCPBlog

March 2009 - Posts

Increase size of site templates
Body:
Hi to all,
 
Just a brief tip for all sharepoint fans. If you ever want to save Customized site as a template with included content, and you have more then 10MB of data on site, do the following to increase the template size:
 
stsadm -o setproperty -pn max-template-document-size -pv 40000000
 
Also have in mind that you can set maximum of 500MB per site. This limit stands for site templates and list templates.
Category: Sharepoint
Published: 10.3.2009 9:09
How to disable ADMIN$
Body:

If you ever try to stop sharing ADMIN$ (C:\Windows) you find yourself seeing that this same share is available after restart.

To permanently disable administrative shares:

ADMIN$     (C:\Windows)

C$        (C:\)

You need to edit Registry

For NT 4.0/W2K/Windows Server 2003s

HKLM\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters

Name:         AutoShareServer

Data Type:     REG_DWORD

Value:         0

 

For NT 4.0 Workstation/W2K Pro/XP Pro

HKLM\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters

Name:         AutoShareWks

Data Type:     REG_DWORD

Value:         0

 

If you can't find the value in the registry under the exact location, value must be created

right click in the right pane of the window > New > DWORD Value

 

Some applications depend on the presence of these shares

To re-enable the shares simply change value to 1

Category: Windows Server
Published: 6.3.2009 10:54