Windows server 2003 – How to change Distributed File System (DFS) staging size

Posted by Thomas | Posted in Registry, Windows 2003 | Posted on 23-07-2009

0

Have you ever encountered error when using Distributed File System on your Windows server 2003 that states – your staging file is full?

I`ll show you how to fix that.

By default staging file limit is set to 675840Kb.

To change that open registry editor by typing regedit and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ntfrs\Parameters

Here you will see Binary value named “Staging Space limit in KB“.

regedit

Open it, change base to Decimal and enter your new value.

Press “OK”

Thats it!

Windows server 2003/2008 and Exchange 2007 – How to modify database size limit

Posted by Thomas | Posted in Exchange 2007, Powershell, Registry, Windows 2003, Windows 2008 | Posted on 23-06-2009

0

By default Exchange server 2007 Stardart database size limit is 50Gb.

Exchange server 2007 Enterprise edition has no limit for database size.

In this post we will see how to change size for the mailbox database named “FirstDB”.

We will work with Exchange 2007 Standart “TestExchange” running on Windows server 2003.

First we need to retrieve GUID ID for “FirstDB” database, which can be found in FirstSG storage group.

To do it open exchange powershell and type:

Get-MailboxDatabase -Identity “TestExchange\FirstSG\FirstDB” | Format-Table Name, GUID

When you have GUID for your database open registry editor and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\TestExchange\Private-<database GUID>

If you can see DWORD value Database size limit in GB open it ant type your new limit for database in GB.

If value cannot be located, create new DWORD value with “Database size limit in GB” name and set value in GB.

Windows XP – How to edit remote access to the registry

Posted by aidas | Posted in Registry, Windows XP | Posted on 19-06-2009

0

This post will show you how to edit remote access to the registry settings.

To make changes press “Start” then “Run” and type regedit.

In registry editor navigate to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurePipeServer\winreg

registry

Security permissions that are set on key “winreg” controls who can access registry remotely.

If you want to change current settings right click “winreg” key and choose Permissions.

In this “Permissions for winreg” window you can set who will be able to access registry remotely.

Windows server 2003/2008 and Windows XP/Vista – How to enable remote desktop via registry

Posted by aidas | Posted in Registry, Windows 2003, Windows 2008, Windows Vista, Windows XP | Posted on 14-05-2009

0

This quick post will show you how to enable remote desktop service by editing registry settings on your Windows server. To enable RD open registry editor and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

Double click on “fDenyTSConnections” and change Value data to 0 .

Windows server 2003 and Windows XP – How to modify group policy security settings update time

Posted by aidas | Posted in Group policy, Registry, Windows 2003, Windows XP | Posted on 14-05-2009

0

As you know, by default, group policy is being refreshed every 90 min + random time up to 30 min on domain members. And this refresh will occur only if group policy settings were modified.  In addition, every 960 min, security settings are being refreshed regardless of whether any changes to group policy were made. This post will show you how to modify time value for security settings refresh on you Windows server 2003 or Windows XP machine. To modify open registry editor and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}

Double click on “MaxNoGPOListChangesInterval”, change base to Decimal and enter your new Data value in minutes.

Windows server 2003 – How to solve “IRPStackSize is too small” error

Posted by aidas | Posted in Registry, Windows 2003 | Posted on 14-05-2009

0

Got this error few hours ago after i installed “R1 backup” agent on my Windows server 2003 secondary domain controller. R1 backup agent required restart after install. After i restarted server all shares became inaccessable and i got tons of these errors in “System” log:

***

Event Type:    Error
Event Source:    Srv
Event Category:    None
Event ID:    2011
Date:        5/14/2009
Time:        9:15:44 AM
User:        N/A
Computer:   Myserver
Description:
The server’s configuration parameter “irpstacksize” is too small for the server to use a local device.  Please increase the value of this parameter.

***

After some googling i found that i have to modify registry to return Windows server into normal state. To repair this error open registry editor and navigate to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

In the parameters folder mouse right click and select New>DWORD value. Type IRPStackSize as value name. Note that value name is case-sensitive. Double click newly created value to edit. Change base to decimal, enter 18 as value and press OK.

Close registry editor and restart “Server” service to apply new settings.

Server is back now!

Windows XP – How to disable fault logging (Dumprep)

Posted by aidas | Posted in Command line, Registry, Windows XP | Posted on 13-05-2009

0

This quick how to will show you the way to ged rid of Dumprep.exe which is responsible for error logging to a file and sending to Microsoft. When serious error hits your system you always get prompt to notify Microsoft by sending error code to it. In some cases this prompting may result performance issues on your system. If you want to disable Dumprep.exe open command line on your Windows XP and type:

REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V Dumprep /F\

Press Enter.

After that restart your computer.

Windows server 2003/2008 – How to delay services start

Posted by aidas | Posted in Registry, Windows 2003, Windows 2008 | Posted on 08-05-2009

0

This post will show you how to delay services start by editing registry. This is usefull when you need to delay some services start in order your server initialize various protocols in right way. This can be done by creating service dependency. To perform it open registry editor on your Windows server 2003 (Start>Run, regedit) and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Select service you want to create dependency for and create new Multi-String value named “DependOnService”. Open newly created value and type the name of the service or services you wish to start before this service. The name of the services is exactly as it is under “services” registry key.

Windows server 2008 – How to disable Initial configuration task list at startup

Posted by aidas | Posted in Registry, Windows 2008 | Posted on 08-05-2009

0

This post will show you how to disable initial configuration task list to start every time you reboot your Windows server 2008. To do it open registry editor (Start>Run, regedit) and navigate to:

HKEY_LOCAL_MACHINE\Software\Microsoft\ServerManager\Oobe

There you will find value named DoNotOpenInitialConfigurationTasksAtLogon. To disable task list to start edit its value and change 1 to 0.

Windows server 2003 and Windows XP – How to disable Java update via registry

Posted by aidas | Posted in Registry, Windows 2003, Windows XP | Posted on 04-05-2009

0

If, for some reason, you want to disable automatic java update popup this how to is for you. To do it open registry editor (Start>Run>regedit) on your Windows server 2003 and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy

Double click on “EnableJavaUpdate” and change value from 1 to 0.

Windows server 2008 Core – How to set DNS suffix via command line

Posted by aidas | Posted in Command line, Registry, Windows 2008 | Posted on 02-05-2009

0

This post will show you how to use command line in Windows server 2008 Core and set your server DNS suffix by operating on registry.

To set your DNS suffix to mydomain.com open command line and type:

reg add HKLM\System\currentcontrolset\services\tcpip\parameters /v “NV Domain” /d “mydomain.com” /f