Jump to content

Recommended Posts

Posted

Can it maybe who nows what error can be beacuse I use

REGEDIT /S xxx.reg

where is Commands: REGEDIT /S xxx.reg

and not in

REG -> input.!!!

Or I can put in Commands-> REGEDIT /S

or it must be in Registry input.!!!


Posted

The easiest solution I've found for making changes to the registry from within WPI is by creating batch scripts that either calls regedit and refers to the .reg file that is in the same fold as the batch file I created, OR I use the command line registry editor. This allows you to both add and delete content from the registry using simple commands like:

@Echo off
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v ShutdownReasonOn /t REG_DWORD /d 0 /f
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v ShutdownReasonUI /f

This is a batch file I created that turns of the shutdown logger in Win XP & 2003 Server. This command does not work before Windows XP, but it is a handy way to automate registry changes.

Go to the command line and type "REG ADD /?" It will tell you what you switches you should use to create your own.

~Z

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...