Configure Auto Login in windows 7

August 10, 2013 Leave a comment

Do\add the following registry changes for Auto login in Windows 7


1.  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\

Name : DefaultUserName

Type : REG_SZ

Data : MyUserName

2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\

Name : DefaultPassword

Type : REG_SZ

Data : Mypassword

3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\

Name : AutoAdminLogon


Data : 1

4. Reboot the system once.

Categories: Uncategorized

Exchange 2010 log file created every second

August 1, 2013 1 comment

If your Exchange server 2010 fills up log file every second then it could be excessive amount mails are being send\receive from your mail boxes

to check which user is creating issue are sending \receving mails enter following command to count top users , who are sending\receving maximum mails.

Get-MessageTrackingLog -Start “07/20/2013 00:00:00” -end “07/20/2013 11:59:00” -ResultSize unlimited  -Eventid “deliver” | Group-Object -Property Sender | Select-Object name,count | sort count -desc | select -first 10 | ft -auto

Categories: Uncategorized

Migrate WSUS 2008 R2 to WSUS Windows 2012

July 13, 2013 5 comments
  1. 1. Installation
    1. Install Windows 2012
    2. Join to domain
    3. Install WSUS role and configure WSUS content folder location and don’t configure anything in WSUS.
    4. Install SQL 2008 R2 management studio on both WSUS server.

2. Take Backup of existing WSUS server

A.    Take backup of E:\WSUS\  folder to Destination WSUS server’s content folder
B.    Take Backup of Windows internal DB using SQL Management studio and copy it to Destination WSUS server. See steps how to backup and restore
C.    Shutdown the 2008 server or disable LAN.

3. Restore database backup to destination WSUS server.

  1. Restore backup of database using SQL Management studio.
Followed by command: 
%ProgramFiles%\Update Services\Tools\wsusutil.exe postinstall  

2. Restart the server

4. Change the 2012 WSUS server identity using following power shell commands.

$updateServer = get-wsusserver
$config = $updateServer.GetConfiguration()
$config.ServerId = [System.Guid]::NewGuid()

Followed by command:
%ProgramFiles%\Update Services\Tools\wsusutil.exe postinstall

5. Change Other settings.

A.    Open WSUS Administrative Console and change SMTP Settings.
B.    Publish new WSUS Self signed certificate for SCUP.

6. Change the GPO of WSUS URL to point to new WSUS server for client systems update.

Categories: Uncategorized

Adobe Flash Update Alert

March 15, 2012 1 comment

Create shell script and run it daily from cron.

Read more…

Categories: Uncategorized