How to migrate your N: Drive to OneDrive on managed Windows machines for Academic Support Units

  • These instructions apply to managed machines in Academic Support Units only, and are for users who are migrating from N: drive to OneDrive as part of IST’s Migrating N: drives to OneDrive project.

  • Important: do not click on the software update popups in the bottom-right corner of your screen during your OneDrive migration period until after you have run both scripts and migrated to OneDrive. 

On this page:


Video instructions

Change the video speed by clicking the ‘1x’ button on the bottom-right corner of the video player.

Part 1 - Before you migrate

  • Learn more about how to use OneDrive.

  • If you have more than one managed computer:

    • On your primary managed computer: complete all steps below

    • On your additional managed computers: complete all steps in Part 3

  • Please contact your IST Account Rep for assistance if:

    • You use a generic/affiliated account; you may need to request an O365 license for that account in order to connect the generic account's OneDrive

  • If you have a personal OneDrive account, you will need to unlink it before you run the AS - OneDrive Migration in Part 3 below. Instructions to unlink are provided at the end of this article

  1. Connect to the VPN for at least 30 - 60 minutes before starting the migration process.

  2. Log in to your machine using your NEXUS\username credentials. Make sure you are not logging in using another log in format (e.g. IST1234\username).

  3. Ensure that OneDrive is accessible. 

    1. In the System Tray, click the blue cloud icon OneDrive – University of Waterloo to ensure that OneDrive is active and states, “OneDrive is up to date”.

    2. If you're not logged in, from your Start menu, select your OneDrive app and log in.

       

       

  4. Ensure that you are connected to the VPN:

    1. If the system you want to migrate is at home, ensure you are connected to the VPN.

  5. Check for Outlook PST (email archive) files. Note: Your O365 email account has a limit of 99GB. Most users should have room to save all email from old PST files onto their O365 mailbox. You can skip this section if you don’t have any PST files connected to Outlook.

    1. Open Outlook, then click the File tab (top-left of window.)

    2. Click the Account Settings button near the top-middle of the window, then Account Settings… from the drop-down list.

       

    3. Click the Data Files tab (2nd from top-left.)

    4. Make a note of the path for each PST file you have. (OST files can be ignored; it is an offline copy of your O365 mailbox.)

       

    5. The preferred solution is to copy all your email from the PST file(s) to a folder on your O365 mailbox. This can be time consuming if you have a lot of email and is best to attempt while on campus with a faster network connection or while using Remote Desktop and/or a campus hosted virtual PC.

      1. Copy a limited amount of email at a time in case the Outlook becomes unresponsive (or there is a temporary network outage.

      2. Use another device or the web client for email while Outlook is busy copying messages.

    6. When the copy is complete go back to the Account Settings window, click on the PST file, and then click the Remove button.

    7. Close Outlook, wait a few seconds and then re-launch the app to complete the Outlook email profile change.

    8. PST files should not be connected to Outlook if the file is saved to OneDrive. The PST file will cause Outlook to be very slow. Contact your computer support rep for alternate solutions or if you need help.

  6. Close any N: drive files (including OneNote notebooks) you have opened.

  7. Ensure you have 15GB (recommended) free disk space. To check the total disk space left on your Windows 10 device:

    1. Select File Explorer from the taskbar.

    2. Select This PC on the left.

    3. The available space on your drive will appear under Devices and drives.If you need to free up drive space in Windows 10 see this Microsoft article or contact your IST account rep for assistance. If the update runs and there is not enough disk space it will fail and make no changes; it will attempt to run again outside of business hours, but users should address the space issue immediately after the failure.

  8. If you are on a laptop, resolve any offline file conflicts.  

    1. Open Sync Center - type ‘sync center’ in the search box and then select Sync Center. 

    2. Select View sync conflicts

    3. If there are any conflicts for recent files that you want synced, select the file and click Resolve. You can ignore any system file related conflicts.

    4. Choose an option to resolve the conflict. The safest option is to keep both versions. 

    5. Offline files will be disabled as part of this process. If you still require access to offline files, contact your IST account rep.

  9. If you want to keep any files from your Recycle Bin, restore these files before you continue.

Part 2 - Run the 'AS - Copy N: Drive to OneDrive' update (optional)

Excluded files:
desktop.ini

         CON

         PRN

         AUX

         NUL

         COM0

         COM1

         COM2

         COM3

         COM4

         COM5

         COM6

         COM7

         COM8

         COM9

         LPT0

         LPT1

         LPT2

         LPT3

         LPT4

         LPT5

         LPT6

         LPT7

         LPT8

         LPT9

         ~$*

         *.tmp

         *.lock

         *_vti_*

        

Excluded folders :

         CON

         PRN

         AUX

         NUL

         COM0

         COM1

         COM2

         COM3

         COM4

         COM5

         COM6

         COM7

         COM8

         COM9

         LPT0

         LPT1

         LPT2

         LPT3

         LPT4

         LPT5

         LPT6

         LPT7

         LPT8

         LPT9

         SettingsPackages

         $RECYCLE.BIN

         System Volume Information

  1. Optional: Delete files from your N: Drive that you no longer need.

  2. Ensure you don’t have any files open that are on your N drive. 

  3. Open Software Center - type ‘software center’ in the search box and then select Software Center. 

  4. In Applications, click ‘AS – Copy N: Drive to OneDrive. Select Install

  5. A command window will open and stay open until the process is completed. 

    1. It is recommended that you avoid working on content saved on your N: Drive during this process. If you have OneNote notebooks saved on your N: drive, please see the notes below.

  6. Once the command window closes you can move on to the next section, ‘Part 3 - Run the 'AS - OneDrive Migration' update (required)’.

  7. After completing this installation, do not edit any files on your N: Drive or on fileu as the changes will not be copied over to OneDrive. Do not edit any files in your Documents, Desktop or Pictures folders until after you have complete Part 3 below.

    1. If you had a lot of files saved on your Desktop and in your Documents and Pictures folders, it could take some time for these files to repopulate again.

Part 3 - Run the 'AS - OneDrive Migration' update (required)

  1. You will be logged out during this process, so please close all files and applications before continuing.

  2. From Software Centre under Applications, click AS – OneDrive Migration

  3. Select Install.  

  4. Once the installation is complete, your computer will log you out. 

    1. If you are not automatically logged out, log out manually.

  5. If you are off campus, start a campus VPN connection before login, by clicking the icon that looks like two computers (in the bottom-right corner of the computer screen).  

  6. Log into your NEXUS account. 

  7. If you see the following window, click Back up these folders

     

  8. Repeat the steps in Part 3. (above) for each IST Managed Nexus computer in  Academic Support Units you log into.

Part 4 - Check to ensure the migration was successful

  1. Open your OneDrive – University of Waterloo folder in File Explorer. Microsoft OneDrive Status icons tell you the sync state of the file or folder.

     

  2. OneDrive will continue syncing files (this can take some time depending on the number and size of files), when complete the OneDrive icon in the taskbar will change from syncing to clear blue or, if there were syncing errors, with a red x.

     

    1. If there are any syncing errors, click on the cloud icon with the red X in your taskbar. 

    2. Click on the error message at the top regarding sync issues.

    3. Address any issues (usually just special characters in file names requiring files to be renamed).

  3. Files on your Desktop will have green checkmarks on the bottom-left corner of icons, they indicate the file has been synchronized on OneDrive.

     

  4. If things are not working as expected, try the reboot sequence once more: 

    1. Reboot.

    2. Connect to VPN before login if you are off-campus.  

    3. Log into NEXUS.

  5. To check for errors that occurred during the file copy, open to the ‘N-Drive_to_OneDrive.log’ file in your OneDrive. If you need help with looking up errors in the .log file, contact your IST account rep for assistance.

Notes for OneNote notebooks saved on N: drive

If you are installing the 'AS - Copy N: Drive to OneDrive' update from Part 2

  • If you have OneNote notebooks saved on your N: drive:

    • It is recommended that you do not edit content on the N drive while files are being copied over. If you need to work on a file during the copy process, please edit the OneDrive version of the file.

    • The OneDrive sync will copy OneNote notebooks from your N: drive and convert them to be cloud versions on OneDrive.

After your files have been copied over from N: drive to OneDrive

  1. Document the names of your OneNote notebooks by taking a screenshot.

    1. If you use OneNote 2016:

      1. Open the OneNote application.

      2. Go to File > Info. Take a screenshot of your notebook list and use the notebook names on this list to relocate these notebooks in OneDrive.

      3. Click Settings, then click Close.

    2. If you use OneNote for Windows 10, your OneNote notebooks are already saved on OneDrive.

    3. Close your notebooks in OneNote.

  2. To re-open your notebooks in OneDrive:

    1. Go to File > Open.

    2. Go to OneDrive/Documents.

    3. Browse to the corresponding folder path you noted in your screenshot from Step 1.

    4. Select the desired notebook and click Open.

General notes

  • Files are still on your N: drive, they were just copied to OneDrive. 

  • Your default save location is now the Documents folder on your OneDrive. 

  • To prevent accidental file access from your N: Drive:

    • Your N: Drive will be unmapped 1-2 days after you have completed the migration.

    • Your ‘Recent Files’ list will be cleared once you complete Part 3, above.   

  • If you are using a program that points to the N: drive to save/access files (e.g. Grouper, Outlook archived .pst files), this will need to be re-configured to point to OneDrive.

  • Links in documents pointing to N: drive files will need to be updated.

  • Shortcuts on your desktop, pointing to files on your N: drive, should be deleted (and re-created from OneDrive files, if still needed).

  • Additional helpful resources:

    1. Get started with OneDrive (sharepoint.com)

    2. Get started with OneDrive (work or school) - Office Support (microsoft.com)


How to unlink your personal OneDrive

  1. Select the white or blue OneDrive cloud icon in the taskbar or menu bar.

You might need to click the Show hidden icons arrow

next to the notification area to see the OneDrive icon.

If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

2. Select Help & Settings > Settings.

 

3. On the Account tab, click Unlink this PC and then Unlink account.

Frequently asked questions

Please see https://uwaterloo.atlassian.net/l/c/1mxooNow

Related articles