Archive for the ‘Uncategorized’ Category

Configuring SQL Memory Limits on Forefront TMG 2010

12/09/2012

There is quick guide to limit SQL Memory on TMG or any other MSDE/SQL Express instance:

Open CMD and start osql -E -S localhost\MSFW

Paste that commands for 512MB limit:

USE master
GO

EXEC sp_configure ‘show advanced options’, 1
RECONFIGURE WITH OVERRIDE
GO

EXEC sp_configure ‘max server memory (MB)’, 512 
GO

EXEC sp_configure ‘show advanced options’, 0
RECONFIGURE WITH OVERRIDE
GO

More info can be find on:

http://support.microsoft.com/kb/909636

Windows 2008 AD Trust and authentication firewall.

08/03/2011

Error on file share opening:
Logon Failure: The machine you are logging onto is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine

The AD external trust setup between DomainA and DomainB is created. External Trust is setup as Selective Authentication, so we need to explicity allow Domain A users access to Domain B Computers.

To allow access open AD Users and Computers –> enable  Advanced Features –> Select the Computer Object –> Properties –> Security –> Add the User or Group You want to allow access to the computer and allow “Allowed to Authenticate”.

Exchange 2010 Deployment

16/02/2011

http://technet.microsoft.com/en-us/exdeploy2010/default.aspx#Home

Find text in linux files

10/02/2011

For find “somestring” in files on linux disks, you can use one of that commands:

find . -name “*” | xargs grep -l “somestring”

or if first one does not work:

find . -name “*” -exec grep -l “somestring” {} \;

You can change grep options according to your need

How to quick delete large number of files

03/02/2011

If you need to delete folder with large numbers of files (like 100.000 and more) is quickest way in windows to run:

rd /s /q <path to folder>