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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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