.. / setx.exe

Modifies the value of a service’s entries in the registry and in the Service Control Manager database


Functions:
Type:
Toolsets:

Registry

Set machine-wide environment variables

setx.exe /S W10.ad.bitsadmin.com /M MYVAR "Hello there!"
Usecase
Configure a path order hijack

Mitre Att&ck
T1112




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)