Syncing Google Drive and OneDrive in Windows 7

Hello and Good day, this post will provide you a step by step process on how to synchronize Google Drive and SkyDrive from your computer.

So first of all, why do we want to do this?

  1. To provide more than one store point for your files online.
  2. and because we can… Smile

Let me just remind you that there is no easy way to do this and the steps provided in this blog post are work a rounds.

If you already have your SkyDrive and Google Drive agent signed in and running, you will need to unlink (in SkyDrive) or Disconnect account (in Google Drive) and centralize them in one location.

Phase 1 – Unlinking and Disconnecting your account from the Google Drive and SkyDrive.

  1. Open up the preference settings in your Google Drive agent application.
  2. Click Disconnect account button. (This will stop the synchronization of your default Google drive directory to your Google drive online storage, you will not loose your file in Google Drive). A word of advise, ensure that the files in your Google Drive (local directory) are synchronized to your Google Drive Online Storage, before deciding to disconnect your account.
    image
  3. Open up the Settings window of your SkyDrive agent application.
  4. Click on the Unlink button.
    image 

Phase 2 – Signing in to SkyDrive and Google Drive and setting them up with a single Directory to synchronize your SkyDrive and Google Drive online Storage.
Note: Before you start syncing your account, I advice you to empty both your Google Drive and OneDrive account by downloading the copies of your Google Drive and OneDrive and then deleting the online copies.

It is important to know that you must do the steps here as they are laid out.

  1. Create a folder that will contain the files from Google Drive and SkyDrive (in my case, this is “C:\Online Storage\OneDrive”.
    Note: It is important to know that the OneDrive folder must exist, because OneDrive will require this folder when setting up OneDrive.
  2. Open/Sign in from the Google Drive agent application.
    image
  3. Then traverse into the setup wizard until you reached the “You’re all set” phase, then click Advance setup. A similar window should then appear. Then Click the Change button to setup the destination of the local copies of your Google Drive account.
    image
  4. Then click the Start Sync button and let the synchronization complete.
  5. Open/Sign in to OneDrive using the client agent application.
    image
  6. You will be redirected to a sign in page after you click ‘Get Started’. Sign in and click Next.
  7. On the next page, you will be asked to select the location you want for your OneDrive local copies, select the location you have created in Step 1 one folder up. So that means select the folder that contains the OneDrive Folder, in our case ‘C:\Online Storage’.
  8. You will be prompt that the Folder already exist. Click ‘Use this Location’, then click Next.
  9. On the next Page, select ‘All files and folders on my OneDrive’ and let OneDrive Synchronize.

Now move the files that was downloaded from both OneDrive and Google Drive to syncronize both OneDrive and Google Drive.

Note: You may encounter synchronizing error from Google Drive regarding .lock file, the .lock the file is a file being used in OneDrive.

Exchange 2010: Subscribing Edge Transport Role

Introduction

Okay, You’ve installed Edge Transport Role now you want subscribe your edge transport role to participate in the mail flow in your organization and manage inspect emails coming from the internet.

Typically, you want to configure this after you have just install Edge Transport Rule, because it will rewrite everything in your edge transport configuration. Because the Edge Transport Role Server is not connected to the domain, Domain Servers and the Edge Transport Server don’t really know each other, Edge Subscription is the process where we create identification for the Edge Transport Role so that the Exchange Servers inside our domain that implements this subscription will know that this is a trusted computer and that it host Email Content and Security for our Email Organization.

Pre-configuration Procedure (Optional)

If you have already configured your edge transport server, you will need to export them (or backup) first before you continue with your synchronization with your Edge to your Hub Transport.

  1. Connect to your Edge Transport Server.
  2. Open your Exchange Management Shell as Administrator.
  3. Navigate to the Scripts directory of exchange.
    cd C:\Program Files\Microsoft\Exchange Server\v14\Scripts>
  4. Issue the command
    [PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>.\ExportEdgeConfig.ps1 -cloneConfigData:”c:\closedconfig.xml”

    This will export the configuration of your Edge Transport Server to the location specified in the cloneConfigData parameter.

There may be some reason why you want to export the configuration of your Edge Transport, it may be for your organization backup policy, or a recovery from a crashed Edge Transport, or you want to clone your configuration to a another Edge Transport Server, either way this is the way to do it.

The Process (Configuration):

  1. Edge Transport Role Information Export
    To create the Subscription, you must remotely connect or open your Edge Transport Server. Then open your Exchange Management Shell as Administrator. Once you’re in it, issue the command “New-EdgeSubscription –FileName desiredLocation.xml.

    Example:New-EdgeSubscription -FileName “$env:userprofile\desktop\edgesyncfile.xml”

    The variable $env:userprofile refers to the directory of the currently logged in user, this is the equivalent of %userprofile% variable in command shell.

  2. Import the Edge Transport Role Information to your Hub Transport Role.
    To subscribe your Hub Transport Server to the Edge Transport Server, you will need to connect to your Hub Server, then open Exchange Management Console.

    In the Exchange MMC, Expand the tree Organizational Management > Hub Transport > Edge Subscriptions Tab. After you have selected the Edge Subscription Tab, Click on New Edge Subscription.

    image

  3. Select the Active Directory Site in which your Edge Transport Server is Located and select the Subscription File that you have created in Step 1.

    image

  4. Click New and Next until you have finished the wizard.

After-Configuration Procedure (Optional)

To Import your previous configuration of your Edge Transport Server which we done in our Pre-configuration Procedure.

  1. Connect to your Edge Transport Server.
  2. Open your Exchange Management Shell as Administrator.
  3. Navigate to the Scripts directory of exchange.
    cd C:\Program Files\Microsoft\Exchange Server\v14\Scripts>
  4. Issue the command
    [PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>.\ImportEdgeConfig.ps1 -cloneConfigData:”c:\clonedconfig.xml” -cloneConfigAnswer:”c:\clonedanswerconfig.xml” -isImport $false”

    This will create the answer file that we are going to use to import transport server.

  5. Issue the command
    [PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>.\ImportEdgeConfig.ps1 -cloneConfigData:”c:\clonedconfig.xml” -cloneConfigAnswer:”c:\clonedanswerconfig.xml” -isImport $true”

    This will import the answer file that we created in Step 4.

Congratulations, you have now imported the Edge Transport Server Configuration from an exported configuration.

Exchange 2010: Installing Edge Transport Role

Introduction

Exchange Edge transport is an exchange role that is designed to protect mail users from spam and being keeping mail users from being tagged as a bad internet citizen on the internet. The edge role contains advance features and built-in functionality to make email security (including spam management) administration simplified.

Because of the exposure of this role to the public and to minimize the attack surface to the deployed domain to the internet, Microsoft has designed to Edge Role to not access the domain resources with the exception of a few. Prior to installing Exchange 2010 administrators are required to install LDAP (Light Directory Access Protocol) to access limited information about the users in the domain to resolve the mail enabled objects in your exchange organization, otherwise Exchange Edge role wont be able to find the objects in your domain as it run its logic to the mail organization.

Prerequisites and Installation

You may install Exchange Edge Role in the procedure you are already familiar with but the following are recommended for those who aren’t familiar with the process.

  1. Update Operating System to the latest hotfixes and patches.
    • Under Windows Server 2008 SP2
    • Under Windows Server 2008 R2
    • Under Windows Server 2012
    • Under Windows Server 2012 R2
  2. Install Role Prerequisites.
    • The Windows Features that must be installed are described in http://technet.microsoft.com/en-us/library/bb691354(v=exchg.141).aspx, after step 1 you are no longer required to install the hotfixes described in the page. Find you matching environment for your system and execute the appropriate command shell or PowerShell command.
    • The commands cited in the link above will install the windows features necessary for Edge Transport to initially work on the Server to be installed, this will include the LDAP service which Edge Transport will use
  3. Server Network Configuration
    • As you may already know network resources must have a static IP address. Setting up the windows server for Exchange will include a proper configuration on the network interface on server side so that it is ready to be referred by clients in a predictable way.
    • Normally you would also set your Exchange 2010 Edge Role in your edge network also known as DMZ, this is because Edge Role is intended to be expose to the internet to receive mails.
    • Rename your computer as a part of your server management procedure adherence. Naming the server to an appropriate name according to your organization policies will make your computer easier to locate.
    • Update the DNS suffix configuration of your computer so that the Edge Role Server network suffix name will have the same value as your domain name.
      • After you have rename your server, add the DNS suffix your computer.
        imageClick on More,  a window similar below should appear, enter the domain name your exchange environment, then click ok. Then reboot your computer.
        image
  • If you can wait for your DNS to update, you should be able to ping your server via FQDN even if its not connected to the domain.
  • Installing Edge Role.
    • Insert your Exchange 2010 Installer Disk (if you any) or locate your setup.exe for your exchange installation.
    • Start your setup.
      • At this point our server has been configured for the edge transport to be installed. Your Exchange setup should be similar to the image below:
    • Open your command shell or PowerShell.
      • Navigate to the directory where the exchange setup.com or setup.exe is located, and issue the command similar below. This will install Exchange Edge Role in an unattended manner.
        image
      • Reboot your computer after the installation is complete.
    • It is advisable to update exchange after the installation so that it will have the latest anti-spam definitions and other hotfixes and patches that may not be included in your installer.

Congratulations, you now have installed the Exchange 2010 Edge Transport in your environment. You are now ready to redirect your outbound and inbound email from your HUB transport to your Edge Transport and vice versa.