3 Jun 2012

Great beef steak

-Two slides of tender beef steak (3-5 cm thick)
-Rub the steak with vegetable oil, wait for few minutes then season with salt and pepper otherwise the salt will start to eat into the meat and dry it out.
-Heat the solid pan in 200 degree in 15 minutes before start cooking
-Put the steak into the pan and don't touch it until 2 minutes then turn over. Put more oil if it is not sizzling but keep the heat high.
-Sear for 2 minutes more and then turn again.
-Take the steak out and leave it to rest for 5 minutes before you serve. Remember the steak will continue to cook while it is resting.
...I am starve :-)

Move BESX to new server

1. Install BESX on new server
2. Modify firewall if any
3. Download and install BlackBerry Enterprise Transporter files
  • Browse to http://us.blackberry.com/support/server_resourcekit.jsp
  • Click on Download BlackBerry Enterprise Resource Kit 
  • Select BlackBerry Enterprise Resource Kit V5.0 SP3. Don't click on Next button but just look down and download BlackBerry Enterprise Transporter 5.0 Service Pack 3
 4. Install and run BlackBerry Enterprise Transporter and follow 4 steps to migrate user from old BESX to new BESX

Make sure BlackBerry Administration Service type on both old and new BESX must be the same (Active Directory or BlackBerry Administration Service authentication) otherwise you will get the BAS assignment error when migrating.


Good luck

30 May 2012

Place a sent message in Sent Items of Shared Mailbox (Outlook/Exchange 2010)

When user send email from a shared mailbox the message is placed in the Sent Items of the user's mailbox. 
To place the sent message in the Sent Items of the Shared mailbox you have to do 2 simple things

1. Apply the Hotfix KH2459115 (http://support.microsoft.com/kb/2459115) or it can already be installed by Windows update

2. Adding registry setting DelegateSentItemsStyle with a DWORD value of 1 to HKCU\Software\Microsoft\Office\14.0\Outlook\Preferences
 

13 May 2012

Synchronize Project Server 2010 with Exchange 2010

A. Enable Exchange synchronization for the PWA

1. In Server Settings page in PWA, goto Operational Policies - Additional Server Settings - Exchange Server details then check on
2. Synchronize Tasks check box

B. Create a PWA user account for each CAS server
1. From Server Setting page in PWA create new user
2. Clear "User can be assigned as a resource" check box and type the name of CAS server in the Display Name field. For eg CAS_Server

3. In the User Authentication section, enter the Windows account for CAS server computer account in the User logon account field. In my case DOMAIN\CAS_Server$

4. Check on Prevent AD synchronize this account

5. In the Security group section, add the user to the Administrator group

6. Click Save button


C. Configure Project Server users for Exchange synchronization
In Server Settings page in PWA double click on each existing user and check on Synchronize Tasks check box

D. Configure impersonation permissions for the Project Server Queue Service account
1. Discover account that is running Project Server Queue service

2. Log on to Exchange server, launch Exchange Management Shell as Administrator

3. Type the below command, replace the string queuingserviceaccount with the account in step 1

Add-ADPermission -Identity (Get-ExchangeServer).DistinguishedName -User (Get-User -Identity queuingservice_account | Select-Object).identity -extendedRights ms-Exch-EPI-Impersonation

 If you get the below error that means you have more than one CAS server. Please follow step 3.1

Cannot bind argument to parameter 'Identity' because it is null.
    + CategoryInfo          : InvalidData: (:) [Add-ADPermission], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Add-ADPermission

3.1 Enter the below command in Exchange Power Shell

[PS]$CAS_Server = get-exchangeserver | where { $_.ServerRole -match "ClientAccess" }
[PS]$CAS_Server | foreach-object {Add-ADPermission -Identity $_.DistinguishedName -User (Get-User -Identity queuingservice_account | select-object).identity -extendedRights ms-Exch-EPI-Impersonation}

You will get

Identity             User                                          Deny  Inherited
--------                ----                                       ----  ---------
CAS_Server           DOMAIN\queuingservice_account                  False False

Repeat step 3.1 on every CAS server in your Exchange farm

E. Configure impersonation persmissions for all Exchange users
Execute this command in CAS server
[PS] New-ManagementRoleAssignment -Name PRJEXCHIntegration -Role applicationImpersonation -user DOMAIN\queuingservice_account

You will get

Name                           Role              RoleAssigneeName  RoleAssigneeType  AssignmentMethod  EffectiveUserName
----                           ----              ----------------  ----------------  ----------------  ----------------
PRJEXCHIntegration             ApplicationImp... queuingservice_account         User              Direct



References:
http://go.microsoft.com/fwlink/p/?LinkId=202797  (video)
http://blogs.msdn.com/b/mohits/archive/2010/05/29/integration-of-project-server-2010-and-exchange-2010-2007.aspx
http://technet.microsoft.com/en-us/library/ff468700.aspx

16 Jan 2012

Windows Server 2008 : Domain Name System and IPv6 - Performing Zone Transfers




Copying the DNS database from one server to another is accomplished through a process known as a zone transfer. Zone transfers are required for any non-Active Directory-integrated zone that has more than one name server responsible for the contents of that zone. The mechanism for zone transfers varies, however, depending on the version of DNS. Zone transfers are always pulled by the secondary servers from the primary servers.
Primary DNS servers can be configured to notify secondary DNS servers of changes to a zone and to begin a zone transfer. They can also be configured to perform a zone transfer on a scheduled basis. To set up a secondary server to pull zone transfers from a forward lookup zone, follow this procedure:

1.
Launch Server Manager on the DNS server with the primary zone.
2.
Expand the Roles, DNS Server, DNS nodes, and then select the server name.
3.
Select the Forward Lookup Zones node.
4.
Right-click the name of the zone and choose Properties.
5.
Choose the Zone Transfers tab.
6.
Check Allow Zone Transfers and select Only to the Following Servers.
7.
Click Edit, type in the IP address of the server that will receive the update, and press Enter. The server will be validated, as shown in Figure 1. Because the server is not yet an authoritative server for the zone, the error message “The server with this IP address is not authoritative for the required zone” appears. This will be done in the next section. The error can be safely ignored. Click OK to save.

Figure 1. Setting up zone transfer servers.

8.
To ensure that updates will be processed correctly, click the Notify button, enter the name of the secondary server, and press Enter. Click OK to save changes.
9.
Click OK to save the changes.
Note
In addition to specifically defining recipients of zone transfer notifications by IP address, you can select the Only to Servers Listed on the Name Servers Tab option button as well, assuming that the recipient server or servers are listed on the Name Servers tab.

Now that the primary zone on the primary DNS server has been configured to allow transfers, the secondary zone has to be configured on the secondary DNS server. To create the secondary zone and begin zone transfers, execute the following steps:
1.
Launch Server Manager.
2.
Expand the Roles, DNS Server, DNS nodes, and then select the server name.
3.
Select the Forward Lookup Zones node.
4.
Select Action, New Zone.
5.
Click Next on the Welcome page.
6.
Select Secondary Zone from the list of zone types. Secondary zones cannot be AD-integrated and the options will be grayed out. Click Next to continue.
7.
Type in the name of the zone that will be created (this should match the primary zone name), and click Next to continue.
8.
Type in the IP address of the server or servers from which the zone records will be transferred. Press Enter for each server entered, and they will be validated. Click Next to continue.
9.
Click Finish on the Summary page to create the zone.
After the last step, the zone will automatically transfer from the primary DNS server to the secondary DNS server.

Performing Full Zone Transfers

The standard method for zone transfers, which transfers the entire contents of a DNS zone from the primary server to the secondary server, is known as asynchronous zone transfer (AXFR), or full zone transfer. This type of zone transfer copies every item in the DNS database to the secondary server, regardless of whether the server already has some of the items in the database. Older implementations of DNS utilized AXFR exclusively, and it is still utilized for specific purposes today.

Initiating Incremental Zone Transfers

An incremental zone transfer (IXFR) is a process by which all incremental changes to a DNS database are replicated to the secondary DNS server. This saves bandwidth over AXFR replication changes because only the deltas, or changes made to the database since the last zone transfer, are replicated.
IXFR zone transfers are accomplished by referencing a serial number that is stored on the SOA of the DNS server that holds the primary zone. This number is incremented upon each change to a zone. If the server requesting the zone transfer has a serial number of 45, for example, and the primary zone server has a serial number of 55, only those changes made during the period of time between 45 and 55 will be incrementally sent to the requesting server via an IXFR transfer. However, if the difference in index numbers is too great, the information on the requesting server is assumed to be stale, and a full AXFR transfer will be initiated. For example, if a requesting server has an index of 25, and the primary zone server’s index is 55, an AXFR zone transfer will be initiated, as illustrated in Figure 2.
Figure 2. IXFR zone transfers.

15 Jan 2012

How to install Vmware Vsphere Hypervisor (ESXi 4.1.0) onto a USB stick.

Want to have a portable ESXi on a stick? Here's how to do it.

Purpose


To demonstrate how to install Vmware Vsphere Hypervisor (ESXi 4.1.0) on a USB stick.
We'll be covering two different methods to accomplish the task.
  • Install by writing the Vsphere Hypervisor (ESXi 4.1.0) image onto a USB Stick.
  • Install by using the native installer.

Required



Method 1

1. The install ISO image from Vmware:
2. A USB Stick with at least 900MB of space.
3. RMPrepUSB
An extremely handy tool that makes partitioning, installing grub4dos, and boot preparation simple.
4. Winrar:

Method 2

1. The install ISO from Vmware:
2. A USB Stick with at least 900MB of space.

Installation



Method 1

The basic idea is to extract the ESXi image from the Vmware Vsphere Hypervisor (ESXi 4.1.0) install ISO and write it to the USB Stick using RMPrepUSB.

Extract Image

Open the ISO image, VMware-VMvisor-Installer-4.1.0-260247.x86_64.iso with Winrar
and find "imagedd.bz2" and open it up.
Winrar1
Once you've opened "imagedd.bz2" extract "imagedd" from it.
Winrar2

Write Image onto USB Stick

Plug in the USB Stick and then open RMPrepUSB.
The only things we need to concern ourselves with are the white box at the top that lists all detected drives, and the blue button, File -> USB.
Make sure to select the correct drive from the white box.
Next, click on  File -> USB button.
rmprep1
Select All Files from the drop-down and select "imagedd" and click Open
rmprep1
Several Prompts will appear, keep the defaults and click OK for each one.
rmprep3
This is your last chance to verify that you have selected the correct image/drive.
*Make sure you have the correct drive selected or you can potentially overwrite the wrong USB Stick/Hard drive*
When you've verified click OK.
rmprep4
rmprep5
rmprep6
Now we're done writing the image onto the USB Stick.
You now have a bootable USB Stick with Vmware Vsphere Hypervisor (ESXi 4.1.0) installed.

Method 2

The process is to select the USB Stick as the install device in the Vmware Vsphere Hypervisor (ESXi 4.1.0) installer.

Begin Regular Install of ESXi

With the USB Stick plugged in, boot the server/virtual machine from the Vmware Vsphere Hypervisor (ESXi 4.1.0) install media.

 

Select Proper Install drive

Proceed through the screens until you get to the Select a Disk screen.
*Be absolutley certain that you select the proper device as to not overwrite the internal hard drive if you have one.*

Proceed through the installation.


Congratulations, you now have a bootable and portable Vmware Vsphere Hypervisor (ESXi 4.1.0) install on a USB Stick!

by Jose Rodriguez http://www.virtualgeekhub.net/content/how-install-vmware-vsphere-hypervisor-esxi-410-usb-stick

5 Jan 2012

Convert from thick-provisioned disk to thin and vice versa on ESXi 4.1

Thin to thick (easy :-): within the vSphre client  open datastore browser and right click on vmdk file you want to convert to think and select Inflate.

Thick to thin (a little bit "pro")
- Connect to host via SSH and use the below syntax: 


1. Shutdown the VM so that we can get exlusive access to the virtual disk.
2. Log into your ESX host using SSH and cd into the VM directory that contains your virtual disk.
3. Run vmkfstools –i srcDisk -d thin dstDisk
4. Edit the settings of VM and remove the existing drive srcDisk. Add a new hard drive and choose the existing drive option then browse to your new thin dstDisk
5. Boot the VM and enjoy.

Note: Dont forget to go back to ESXi host remove the old .vmdk and -flat.vmdk files once you are sure that your VM is operating normally off the thin disk.

20 Dec 2011

Extend 10MB limitation of sharepoint template file

Extend template file size to 50MB

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 5000000

Operation completed successfully.

7 Dec 2011

Unprotect Excel sheet

Open protected sheet, right click an select View Code or press a short cut Atl+F11.
Copy and paste the below code and Run.
Enjoy :-)

Sub PasswordBreaker()
Dim i As IntegerAs IntegerAs Integer
Dim l 
As IntegerAs IntegerAs Integer
Dim i1 
As Integeri2 As Integeri3 As Integer
Dim i4 
As Integeri5 As Integeri6 As Integer
On Error Resume Next
For 65 To 66: For 65 To 66:         For 65 To 66
 
For 65 To 66: For 65 To 66:        For i1 65 To 66
  
For i2 65 To 66: For i3 65 To 66:       For i4 65 To 66
   
For i5 65 To 66: For i6 65 To 66:       For 32 To 126

     ActiveSheet
.Unprotect Chr(i) & Chr(j) & Chr(k) & _
         Chr
(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
         Chr
(i4) & Chr(i5) & Chr(i6) & Chr(n)
     If 
ActiveSheet.ProtectContents False Then

         ActiveWorkbook
.Sheets(1).Select
         Range
(“a1”).FormulaR1C1 Chr(i) & Chr(j) & _
              Chr
(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
              Chr
(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
         Exit 
Sub
 End 
If NextNextNextNextNextNext
Next
NextNextNextNextNext

End Sub 

6 Dec 2011

DPMRA can not start with error 1168

Verify you COM+ rights for the DPM agent. It could be that there is a missmatch in the rights.
Click START / Administrative Tools / Component Services
Expand Component Services / Computers / My Computer / DCOM Config
Right click on the "DPM RA Services" and choose properties. Verify that under the Security tab / Launch and Activation Permissions you got Customize marked, click the Edit... button in the ACL you should see the computer account for your DPM server. If it's not present add it and mark all allow boxes and try to start the service again.

DPMRA stops more frequently

http://www.microsoft.com/download/en/confirmation.aspx?id=23224

15 Nov 2011

Troubleshooting Offline Address Book Generation on Exchange 2010

http://blogs.catapultsystems.com/IT/archive/2010/03/11/troubleshooting-offline-address-book-generation-on-exchange-2010.aspx

Total Pageviews