Updating Office without opening it

Hi everyone

I wanted to share a tip if you wanted to update an office installation without the need to open it.

The gold is to prevent the activation trigger or the trial starting if it’s for an Office installation inside an OS deployment image in example. I know we can easily do; File > Office Account > Update Options > Update Now, but it’s not my goal for this post.

The command to use is;

"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user

If you need it to be silent;

"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user displaylevel=false forceappshutdown=true

You can change the same way the update channel;

“C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe” /changesetting Channel=Current

and finally you can use psexec to send the command to a group of computer;

psexec @computers.txt -d -n 3 cmd /c “C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe” /update user updatepromptuser=false forceappshutdown=true displaylevel=false

Hope it help 🙂


DFS Replication – Best way to migrate a file server

Hi everyone

Today I wanted to do a lightweight post, as I seen a lot of IT folks still use robocopy and manual’s way to migrate fileserver.

With DFS support from 2008R2 to up to today, never forget that DFS is a nice approach now. You don’t need to create a namespace, just the replication folder.

I seen so much horror from robocopy, bad param that forget the file security, or too long path that prevent a copy.. I just wanted to share the method.

Remote Desktop Latency (Win10 / RemoteFX)

Hi everyone

Today I wanted to share a problem I seen some time on Remote desktop server.

It’s a unexpected lag in the user session. I call unexpected as in my case the server is not at all missing resources and the internet link is good.

Some older Remote Desktop can be greatly impacted by the RemoteFX settings; which are located there;

Computer Configuration/Policies/Admin Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Remote Session Environment

Use advanced RemoteFX graphics for RemoteApp – Disabled

If the setting does not work there is a unexpected issue that can rise. The mouse polling rate.. That case happen if one of your user use a gaming mouse. Usually the polling is around 125 hz by default. Most gaming mouse go around 1000 hz.

Such polling really make the server unresponsive for the user session.

You can see some example stated by other people;

Ref: https://social.technet.microsoft.com/Forums/en-US/f3e9852b-393c-4aa0-9d2f-961a82cfc603/remoteapp-after-windows-10-update-1803-are-slow-and-right-mouse-button-is-not-responding-it-reacts?forum=winserverTS


Ref: https://serverfault.com/questions/1020864/remoteapp-on-windows-server-2019-lags-heavily


Ref: https://docs.microsoft.com/en-us/answers/questions/112989/slowness-on-remoteapps-with-certain-mouses.html

As you can see it’s a common error. If you got a application to lower the polling it can be easy to deal, else you might have to get a older mouse, or a more standard’s one.

An example of where to change that setting for a logitech’s mouse;

Thanks everyone