Friday, February 25, 2011

The ReportServerVirtualDirectory element is missing.


Open RSWebApplication.config file ,
Check if the below lines are same,


(Add ReportServer)

Restart IIS

Read more...

The session setup from the computer %computername% failed to authenticate.

The cause of this error is the expired computer accound password. By Default computer accounts change password automaticly in every 30 days. If, replication between computer and dc's are not successfull after password changes DC will remove computer account from domain.

You can disable this behaviour from group policy settings,

Setting is under Computer Configuration -> Windows Settings -> Security Settings -> Local Policies/Security Options -> Domain Member: Domain Member: Disable machine account password changesYou should enable this settings.
Read more...

Tuesday, February 22, 2011

Exchange 2007 Mailbox Sizes

Execute the command on EMS.

Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,@{ expression={$_.TotalItemSize.Value.ToKB()}},ItemCount

You can use toMB or toGB
Read more...

Event ID 1025 0xc0041800

If you are getting this error on Exchange Server 2007, you should rebuild the indexing catalog.

Content Indexing received an unusual and unexpect error code from MSSearch
Error: 0xc0041800


Execute the command below on Exchange Management Shell

ResetSearchIndex.ps1 [-force] -all

Follow the results from event viewer, you should get Event ID: 110 after successfull process.
Read more...

Wednesday, February 9, 2011

GFI EndPoint Security Installation Error (Process Roll Back)

--> If you can not install GFI Endpoint Security 4.x , process is rolling back and service can not start;
Apply the steps in link

http://kbase.gfi.com/showarticle.asp?id=KBID003806
Read more...

Drive is not accesible Access is denied

If you are using Symantec Endpoint Encryption and user not registered yet, you will get "Drive:\(Letter) is not accessible Access is denied" message while trying to access removable storage device.
Register user and try again
Read more...

Tuesday, February 8, 2011

KMS Server on Windows 2003

Install KMS

KMS 1.1 Download Link
Update 1 Link
VAMT 2.0 Download Link

Install KMS1.1 then install Update then VAMT. After installation you should restart server.
Open VAMT console

1) License Installation



First Verify then add product key.

2) Add Client



3) Update Client Status to get Licensing information




4) Install Product key (Use MAK Key) (We Will use Proxy Activation)




Select Apply Confirmation ID and Activate.
Ok-->Close-->Close
Read more...

Monday, February 7, 2011

Add User to Group

Command will add user1 to local administrators group.

net localgroup "Administrators" "domain\user1" /add
Read more...

Enable Local User

net user user1 Password /active:yes
Read more...

Enable DHCP VB Script (WMI)

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colNetAdapters = objWMIService.ExecQuery _
("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")

For Each objNetAdapter In colNetAdapters
errEnable = objNetAdapter.EnableDHCP()
Next
Read more...

Disable CDROM VB Script

const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set StdOut = WScript.StdOut

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "SYSTEM\CurrentControlSet\Services\Cdrom"
strValueName = "Start"
dwValue = 4
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue
Read more...

Disable USB Storage VB Script

const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
'Set StdOut = WScript.StdOut
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SYSTEM\CurrentControlSet\Services\USBSTOR"
strValueName = "Start"
dwValue = 4
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

Use dwValue = 3 for enable
Read more...

Remove From Local Administrators VBS Script

Script will remove the users from Local Administrators group except which are stated in script.Username must be in CAPITAL letter.

Script

Option Explicit
Dim network, group, user
Set network = CreateObject("WScript.Network")
Set group = GetObject("WinNT://" & network.ComputerName & "/Administrators,group")
For Each user In group.members
If UCase(user.name) <> "user1" And UCase(user.name) <> "user2" And UCase(user.name) <> "user3" And UCase(user.name) <> "user4" And UCase(user.name) <> "user5" And UCase(user.name) <> "user6" Then
group.remove user.adspath
End If
Next
Read more...
 
span.fullpost {display:none;}