General discussion

  • Creator
    Topic
  • #2259199

    help – batch files

    Locked

    by mayuresh.annegiri ·

    I have exported a registry file. When i double click that it prompts for YES & NO. If i click YES it make changes certain entries in registry & if I say NO then obviously it doesn?t do anything.
    I am intending to push this in start-up of every user thru group policy by using a batch file. But i don?t want to give any notification to user. It should automatically accept the answer as YES.

    Can someone help???

    Thanx!!!

All Comments

  • Author
    Replies
    • #3199841

      Reply To: help – batch files

      by hal 9000 ·

      In reply to help – batch files

      Unless everyone is running with Admin Privileges this can not be done.

      The average [b]End User[/b] with Limited Rights will not make an ounce of difference as this [b]Can Not[/b] be executed in anything but Admin Mode.

      So no amount of Scripting will allow this to happen on a network with Restricted rights for End Users

      Col

    • #3199673

      Reply To: help – batch files

      by suniltvpm ·

      In reply to help – batch files

      You can do by running the batch file in min mode. Microsoft URL http://support.microsoft.com/?kbid=176197 describes how to do this.

      Regards,
      Sunil

    • #3199637

      Reply To: help – batch files

      by lowlands ·

      In reply to help – batch files

      HAL is partly correct. First of all you’ll have to make sure the user has permissions to write to the section of the registry you plan to modify with your script.

      When/if you have confirmed the user has permissions to write to that part of the registry you can run:
      “regedit /s <.reg-file>“

Viewing 2 reply threads