Create Bootable USB Drive
open a command line window on your Vista machine then type the following sequence of commands:Diskpartlist disk (you should be able to spot your USB stick by the size, take note of the number listed against it)select disk n (where n is the number from the previous step)cleancreate partition primaryselect partition 1activeformat fs=ntfs quickexit[@more@]
Disable Dynamic DNS update
Unfortunately enabling and then disabling the "Register the connections address in DNS" option again did not resolve the issue. I figured this occurred as when upgrading VMware tools the servers network adapters are removed and re-added. To resolve this issue I opted to disable Dynamic DNS updates on the server all together using a registry entry. To disable Dymanic DNS on a Windows Server 2008 or Server 2008 R2 machine, perform the following actions. 1. Login to the server
reduce the database log file
use DatabaseNamegocheckpointDBCC SHRINKFILE('DBlogName', 1) BACKUP LOG DatabaseName WITH TRUNCATE_ONLY DBCC SHRINKFILE('DBlogName', 1)[@more@]
Disable Dynamic DNS Updates in Windows 2008
1. Login to the server with the issue. 2. Click the Start menu and select Run. 3. In the Run dialog box type the following entry without the quotation marks and then click ok: "reg add hklm system currentcontrolset services tcpip parameters /v DisableDynamicUpdate /t REG_DWORD /d 1 /f" 4. Reboot the server to complete the process. [@more@]
Migrate DPM datasource to another hard drive using powershell
PS C:Program FilesMicrosoft DPMDPMbin> $disk = get-dpmdisk -DPMServerName dpmserverPS C:Program FilesMicrosoft DPMDPMbin> $pg = Get-ProtectionGroup dpmserverPS C:Program FilesMicrosoft DPMDPMbin> $ds = Get-Datasource $pg[12]PPS C:Program FilesMicrosoft DPMDPMbin> .MigrateDatasourceDataFromDPM.ps1 -DPMServerName active-dpm -Source $ds[0] -Destination $disk[2][@more@]
Some Exchange Powershells
1. How to remove disconnected mailboxes:Remove-StoreMailbox –database “DB2” –identity “Chakka Rajith” –MailboxState DisabledIf you want to remove all disconnected mailboxes from a database, run the following commandGet-MailboxStatistics –Database “dbname” | Where-Object {$_.DisconnectReason –eq “Disabled”} | ForEach {Remove-StoreMailbox –Database $_.database –identity $_.mailboxguid –MailboxState DisabledIf you want to remove all soft-deleted mailboxes from a database, run the fo
Recovery from LTO3 tapes with LTO5 tape drives using Backup Exec 2010
Steps:Assign the media to RetireDelete the media from retired mediaGo to “tools” – “options” , in the “Settings” – “Catalog”, unselect “Request all media in the sequence for catalog operations”Run Inventory on the mediaWhen Inventory is finished, assign to media to “keep data infinitely – do not allow overwrite”Run Catalog on the mediaIf there’s byte counts and catalog finished successfully, then start the restore.[@more@]
Exchange 2000/2003 System Attendant does not start after disaster recovery installation, event ID 90
After you run an Exchange disaster recovery installation, System Attendant may not start, and you may receive the following event ID messages:Event Type: ErrorEvent Source: MSExchangeSAEvent Category: GeneralEvent ID: 9022Description:Microsoft Exchange System Attendant encountered an error while processing the security data for Exchange server '<SERVERNAME>'.For more information, click http://search.support.microsoft.com/search/?adv=1.Event Type: ErrorEvent Source: MSExchangeSAEvent Catego
SQL Database Maintenance Wizard
The following 2 database plans should be setup using the maintenance plan wizard to run on every SQL server weather they are used to store data by Great Plains or not. The steps below assume there is no SQL agent configured with the tape backup software to perform a database backup (dump) direct to tape, if a backup agent is used with tape software refer "Tape Software Backup Agent" in the last section below. Weekly
How to change Licence Key for MS Office 2007
Note: The following steps involve modification of registry key values, which may corrupt your Windows if done incorrectly. Backup registry first before performing the workaround. Close all Microsoft Office programs.Click on Start button, then click on Run.Type “regedit” (without quotes) in the Run text box, and click OK or press Enter.Locate and then click the following subkey: HKEY_LOCAL_MACHINE SoftwareMicrosoftOffice12.0Registration Inside, you will find another subkey that resembles th
How to change Volume Licence Key for Windows XP and 2003
If you do not have to change many Volume Licensing product keys, you can use the Activation Wizard. Note We recommend that you run System Restore on Windows XP to create a new restore point before you follow these steps. For information about how to create a restore point by using System Restore, see the "To Create a Restore Point" help topic in Help and Support. Click Start, click Run, type regedit, and then click OK. In the left pane, locate and then click the following registr
Useful powershell command for Windows SYS Admin
The get-wmiobject command is a very userful tool for Windows Admins to manage the remote inventories, for example, you can easily get the bios version, Serial Number and other bios info by using the following command:get-wmiobject win32_bios -computername Test-PC1you can simply get other info as well, here are some parametres I used a lot:win32_computersystem, win32_processor, win32_logicaldisk, win32_diskdrive, win32_physicalmemory[@more@]
Using BackupExec 12.5 and other VSS not supported Software to backup DPM
From BcakupExec 12.0, there hasn't been the DPM backup agent any more. So you can no more backup your DPM directly from BackupExec. However, there is a workaround and it's relatively easy:There is a built-in backup tool for DPM. It's named DpmBackup.exe and it's located in the folder: C drive(If you install DPM on C drive) -> Program Files -> Microsoft Data Protection Manager -> DPM -> bin. This built-in backup tool will backup all the replicas for the proteced servers and the DPM da
Disable User Account Control (UAC) from Group Policy (GP)
UAC can be disabled from GP in "computer configuration"Go to the policy you need to config and edit it:computer configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options.Change the following three policies:User Account Control: Behavior of the elevation prompt for standard users - Automatically deny elevation requests/No PromptUser Account Control: Detect application installations and prompt for elevation - DisabledUser Account Control: R
Outlook 2003 cannot setup profile after rolling back from Office 2007
If you have uninstalled Office 2007 from you system and rolled back to Office 2003, you may have the following error message when you try to configure a user account:There was an error locating one of the items needed to complete this operation. It might have been deleted. To fix it, go to the following location:C: ->Program Files ->Common Files ->System ->MSMAPI ->1033then delete the file "mapisvc.inf" and remove the profile in Outlook, then recreat the profile.The map
A temporary profile is loaded after you log on to a Windows Vista-based system
After you log on to a Windows Vista-based system, you may notice that a temporary profile has been loaded instead of the profile that corresponds to the current user. Therefore, any changes that you make to the current desktop are lost after you log off the system. Additionally, the notification area may display the following error message:Your user profile was not loaded correctly! You have been logged on with a temporary profile.Changes you make to this profile will be lost when you log off. P
If you cannot remember your password for Recovery and Rescue for IBM Laptop
Search for a file called ibmpwhp.pyc, if you can find it, edit it with notepad, clear everything in it, type two enters, then save it and closeElse If there's no file called ibmpwhp.pyc in your system, then: 1. Create a folder called "IBMSHARE" in C drive 2. Create an empty text file, open it, type two enters, then save it and close 3. Rename the text file to ibmpwhp.pyc Now your R&R password has been changed to blank reboot the machine and just press enter for the R&
Configure a New Global Catalog Server
The Windows 2000/2003 global catalog is created on the forest root domain controller when DCPROMO is run for the first time, and this server is known as the Global Catalog Server. You can set up any server to be a Global Catalog Server
Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller
MORE INFORMATIONloadTOCNode(1, 'moreinformation');Certain domain and enterprise-wide operations that are not good for multi-master updates are performed by a single domain controller in an Active Directory domain or forest. The domain controllers that are assigned to perform these unique operations are called operations masters or FSMO role holders. The following list describes the 5 unique FSMO roles in an Active Directory forest and the dependent operations that they perform: •Sch
How to view and transfer FSMO roles in Windows Server 2003
FSMO RolesIn a forest, there are at least five FSMO roles that are assigned to one or more domain controllers. The five FSMO roles are:• Schema Master: The schema master domain controller controls all updates and modifications to the schema. To update the schema of a forest, you must have access to the schema master. There can be only one schema master in the whole forest.• Domain naming master: The domain naming master domain controller controls the addition or removal of doma