You are using an ad blocker that is interfering with our web typography and internal javascript. Please whitelist our domain to live in a more beautiful world. No ads here, just really great software!

OneDrive has become widely used by companies to increase the productivity of their employees. They are not only able to access their files from anywhere and any device, they also are less likely to lose work due to hardware issues.

Description

This module will help you monitoring different aspects of OneDrive:

  • User adoption
  • Resource consumption
  • Users lacking space
  • Space used by users
  • Users using another tool to store files online
  • Information about Microsoft Office applications
  • Status of OneDrive-related processes, folders and registry keys

Monitoring these different aspects will help you improve your employee productivity, by making sure that they leverage the tool correctly, and the security of your infrastructure, by detecting shadow.

In addition, this module will help you keep your OneDrive environment healthy, and mitigate possible issues by re-installation.

The operations described in this article should only be performed by a Nexthink Engineer or a Nexthink Certified Partner.
If you need help or assistance, please contact your Nexthink Certified Partner.

Script Get MS Office information

  • Version 2.3.0.0 – Added message in non-retrievable Click to Run fields to maintain consistency
  • Version 2.2.0.0 – Added limited support for Click to Run deployments
  • Version 1.0.0.0 – Initial release

Script Description

Returns several Microsoft Office-related information, such as the version of the suite, the applications installed, the language preferences, the size of the user’s Outlook Data Files and the used space in the OneDrive business account folder.
Useful for troubleshooting both Office-related and disk space issues and for managing the Office migration to the cloud. The script is developed for Windows 10 and 7 and Microsoft Office 2010 onwards.

Execution context and suggested scheduling

Run the script as interactive user. The script should be executed manually.

Parameters

None.

Outputs

ID Label Type Description
1 MS Office Version StringList Version of the Microsoft Office suite installed on the device
2 Installed Applications StringList List of installed Office applications
3 Active Display Language StringList Display language currently in use
4 Installed Display Languages StringList List of display languages installed on the device
5 Installed Editing Languages StringList List of editing languages installed on the device
6 Number Of PST Files Int Number of .PST files stored on the device
7 Number Of OST Files Int Number of .OST files stored on the device
8 PST Overall size Size Size of the .PST file, or sum of all .PST files’ sizes
9 OST Overall size Size Size of the .OST file, or sum of all .OST files’ sizes
10 One Drive Sync Files Size Size Size on the disk of the OneDrive folder
11 Other One Drive Sync Files Size Size Size on the disk of all other data locally synchronized through OneDrive agent

Further Information

Limited support for Click to Run deployments. Installed applications and language-related information cannot be retrieved.

Script Get OneDrive Status

  • Version 1.0.0.0 – Initial release

Script Description

Checks if the OneDrive application is working properly by reviewing some processes status, registry keys and environment variables.

Execution context and suggested scheduling

Run the script as interactive user. The script should be executed manually.

Parameters

None.

Outputs

ID Label Type Description
1 One Drive Status StringList Overall result of the OneDrive health status review

Further Information

Complete list of performed validations:
* %localappdata%\Microsoft\OneDrive\OneDrive.exe exists.
* OneDrive.exe is running.
* %OneDrive% environment variable exists.
* Review the key HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1\UserFolder to check if that folder was created on devices.

If some validation fails, it means that OneDrive is not working properly. Further investigation is required, but a reinstall might be necessary.

Script Repair OneDrive

  • Version 1.0.1.0 – Fixed UAC control request due to blocked installer file
  • Version 1.0.0.0 – Initial release

Script Description

Re-installs and repairs OneDrive on the device, mitigating possible issues by re-installation.

Execution context and suggested scheduling

Run the script as interactive user. The script should be executed manually.

Parameters

ID Label Description
1 Maximum Delay In Seconds Maximum random delay set to avoid overloading server hosting virtual machines. Provide number of seconds less than 600

Outputs

None.

Further Information

It is a reality in many companies that at some point in time their devices have different and out-of-date OneDrive versions installed.
To fix this, the script downloads and installs the latest compliant version of OneDrive.
No popups are shown to the user as OneDrive re-installation is executed in a silent mode.

Script Set OneDrive Configuration

  • Version 1.0.0.0 – Initial release

Script Description

Configures Microsoft OneDrive policy settings of SilentAccountConfig to automatically configure user account instead of having to provide credentials manually, and FilesOnDemand to enable online access to files stored with the service.

Execution context and suggested scheduling

Run the script as local system. The script should be executed every 1 week.

Parameters

ID Label Description
1 Silent Account Config Parameter responsible for OneDrive user account configuration, which hides initial popup window that asks to provide credentials. Accepted values are [Disabled/Enabled]
2 Files On Demand Parameter manages online access to files that allows saving up space. Accepted values are [Disabled/Enabled]

Outputs

None.

Further Information

Group Policy dedicated to mentioned features will overwrite changes applied by this script.
More information on Silent Account Config can be found here.
More information on Files on Demand can be found here.

Screenshots

Content

Campaigns
Categories
Dashboards
Investigations
Metrics
Remote Actions
Scores

Required Modules

Nexthink Act
Nexthink Engage

Platforms

Windows

Compatibility

V6.14 and later