Weekly Tip 5

Set machine-level environment variables from the command line in Windows 7 and above:

setx <variable> <value> /m

Example: setx JAVA_HOME “C:\Program Files\Java\jre1.8.0_45” /m

Hint: “/m” must be last, and is what adds it at the machine level.

Append path to the PATH variable:

setx PATH “%PATH%;C:\Program Files\Java\jre1.8.0_45” /m

Note that the new environment variables take affect for the NEXT command session, not the current one.

Share:

Facebook
Twitter
LinkedIn

Contact Us

Name
=
On Key

More Posts

Microsoft EndPoint Management

Sync ConfigMgr Collections to Intune

ConfigMgr collection sync is a feature that has been in ConfigMgr for a few versions. At a high level, it syncs the membership of a collection to a group in Entra ID that can then be

Read More »
WME Microsoft 365 Updates No. 025
Azure

WME Microsoft 365/Azure Updates 22 August 2025

1. Exchange Online: Temporary Mailbox Access Disruption via MAPI Overview Some Exchange Online users experienced mailbox access issues via the Messaging API (MAPI) on August 20, 2025. The disruption occurred after Microsoft reverted a recent service

Read More »