With Windows Powershell, we are able to start a process as another user, with the command Start-Process Credential parameter. But in some conditions, you will get this error: The system cannot find the file specified. or The Directory name is invalid.
Start-Process Credential The file cannot find the file
The error occurs only if the parameter Credential is set. If not, Internet Explorer is starting. Let’s see how to resolve this issue.
When you install plugins / Add-in for Microsoft Office, this add-in could be automatically disabled by Office depends on the ressouces needed, time to load, etc. This feature could be great, but sometime, this add-in must be enabled all the time. Fortunately, Group Policy can forces the Add-ins activation. Moreover, we can allow the user to change it or not.
Office Add-ins Activation
Let’s see how to do that with an example: The Symantec Enterprise Vault Add-in:
During the deployment of Windows 10 in a multi countries company, you will be facing an issue with the laptops moving regularly from one country to another. The Windows 10 Automatic Timezone service is not enabled by default during the installation.
This means that the laptops will always keep the time from its origin country and it will not change the hours automatically based on the current country.
In fact, you need to configure it using Group Policy Object (GPO).
Windows 10 Automatic Timezone
Let’s see how to configure it and how the users can see and interact with this service. Continue reading →
Since Windows 10, OneDrive is an built-in application. But hopefully, for enterprise administrator, you can disable this functionality with Group Policy (GPO). But even disabled, the OneDrive shortcut in the start menu still exists.
OneDrive shortcut in start menu
Let’s see how to remove this shortcut easily with Group Policy Preference (GPP):
With Windows Server 2016, Microsoft integrated the Microsoft Defender service into the operating system. This built-in antivirus is now running constantly but it does not have the Defender GUI installed by default. If you want to activate the graphical user interface on the server, this can be done using Windows Server Manager or Powershell cmdlet.
Windows Defender GUI
Let’s see how to activate or disable the Windows Defender Graphical interface:
During an Office 365 migration from an Exchange on-premises, it can be usefull to migrate contacts information. For some reasons, if you can not do a Active Directory synchronization, contacts information needs to be imported manually.
You can easily do that by running two scripts, one in your Exchange environnement which creates an csv file, and the other into the Office 365 Powershell.
Sometimes, it can be usefull to disable access to the Exchange server for a specific mailbox. For exemple, in order to forbid Outlook Web App (Outlook on the Web for Exchange 2016) but you do not want to disable the user account. Or you can prestage the mailbox and only allow access to a specific date/ time.
This can also be used during a migration to another mail system: when the user is migrated, you can disable all access to force the user on the new messaging system. And prevent any email sent by the old Exchange.
Exchange Disable access
Let’s see how to disable all access for a mailbox using ECP or Exchange Powershell: