Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted
I have a bit of as problem i need to deploy a reg file to some of the computers on my network i could use gpo but i need to make it permanent and i dont really want to go round all the computers and put in on manualy any idears
Posted

Make a startup or login script depending on whether it is per user/machine or per machine settings you need to set. The syntax is:

 

regedit  /s

 

A full list of command line switches for regedit is here

Posted
yes but it only need to be deployed once it is in the reg it can stay it is only to stop the silly people turning the screen upside down using the context menu on the dell machines
Posted

A Dell? Is it an Optiplex? It probably uses Intel onboard graphics.

 

You need to remove remove the values HotKeyCmds and IgfxTray from the key

 

HKLM\Software\Microsft\Windows\CurrentVersion\Run

 

As it is HKLM you need to use a Startup script as the a logon script won't have the necessary rights to have to make the change.

 

You can use a batch script of the form

 

REG DELETE HKLM\Software\Microsft\Windows\CurrentVersion\Run /f /v HotKeyCmds 
REG DELETE HKLM\Software\Microsft\Windows\CurrentVersion\Run /f /v
IgfxTray

Posted

Yes that's the idea. If you need to make machine wide changes during the boot process then you will need to put them in a startup script.

 

Logon scripts are need to make changes in the context of the logged on user e.g. map drives/printers etc.

Posted

Alternatively if it's a one time permanent operation then why not just run a command from a network admin PC or server which applies the command to to each machine in a list of the Dells.

 

for /f %pc in (list_of_dells.txt)  do REG DELETE \\%pc\HKLM\software\blah\etc 

 

Oh yeah forgot to mention REG is builtin to XP and 2003. If you are using Windows 2000 then you will have to get it from the Window 2000 Resource Kit.

Posted
i like it is sounds good that last one i will have to try that on monday i just hope it works otherwise i got to do it manual as going in to upside down screens is getting to me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...