+ Post New Thread
Results 1 to 13 of 13
Windows Thread, deploy a reg file in Technical; I have a bit of as problem i need to deploy a reg file to some of the computers on ...
  1. #1
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    deploy a reg file

    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

  2. #2
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,242
    Thank Post
    50
    Thanked 274 Times in 212 Posts
    Blog Entries
    6
    Rep Power
    113

    Re: deploy a reg file

    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:

    Code:
    regedit <filename> /s
    A full list of command line switches for regedit is here

  3. #3
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: deploy a reg file

    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

  4. #4

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,710
    Thank Post
    3,246
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364

    Re: deploy a reg file

    In the vbscript just use regread to check if the registry key exists if it does then do nothing and if it does not then add it Simple really

  5. #5

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: deploy a reg file

    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

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

  6. #6

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,710
    Thank Post
    3,246
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364

    Re: deploy a reg file

    I take it a startup script runs it as a system service which has the access rights where as a logon script does not or how does it work ?

  7. #7

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: deploy a reg file

    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.

  8. #8
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: deploy a reg file

    yes thats the one the Optiplex i have got the key edit from intel but just need to add it to all the dells.

  9. #9

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,710
    Thank Post
    3,246
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364

    Re: deploy a reg file

    adding printers isnt that much of an issue with the new R2 PMC Much easier

  10. #10

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: deploy a reg file

    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.

    Code:
    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.

  11. #11
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: deploy a reg file

    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.

  12. #12

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,784
    Thank Post
    351
    Thanked 1,274 Times in 870 Posts
    Blog Entries
    4
    Rep Power
    1126

    Re: deploy a reg file

    Removed.

  13. #13

    Join Date
    Oct 2006
    Location
    Bath, UK
    Posts
    35
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: deploy a reg file

    You can always use a program called advanced installer, from http://www.advancedinstaller.com/ there is a free version and with it you can import reg files and make an msi, and then deploy it the same way you do with normal packages

SHARE:
+ Post New Thread

Similar Threads

  1. How to Deploy Exe Files
    By RobD in forum How do you do....it?
    Replies: 17
    Last Post: 12th June 2007, 08:37 AM
  2. When will you deploy vista
    By drjturner in forum Windows Vista
    Replies: 47
    Last Post: 2nd November 2006, 10:00 AM
  3. Replies: 4
    Last Post: 23rd March 2006, 06:27 AM
  4. Deploy Centre
    By Norphy in forum Windows
    Replies: 3
    Last Post: 30th January 2006, 03:12 PM
  5. Deploy the contents of a CAB file through GPO?
    By tosca925 in forum Windows
    Replies: 0
    Last Post: 16th October 2005, 12:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •