NeoS
21st April 2009, 09:22 AM
Hey guys,
I'm trying to create a batch script for deploying pda's and I need to disable the hardware buttons on a Pharos. Here's what i've found:
In a command line, you can use the command
REG DELETE \\HKLM\Software\microsoft\shell\keys\ /va /f
But i'm thinking this command deletes the LOCAL key on the computer, and I obviously need it to delete it on the PDA.
I've used this example:
REG DELETE KeyName [/v ValueName | /ve | /va] [/f]
KeyName [\\Machine\]FullKey
Machine Name of remote machine - omitting defaults to the current machine
Only HKLM and HKU are available on remote machines
FullKey ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY
ValueName The value name, under the selected Key, to delete
When omitted, all subkeys and values under the Key are deleted
/ve delete the value of empty value name <no name>
/va delete all values under this key
/f Forces the deletion without propmt
Examples:
REG DELETE HKLM\Software\MyCo\MyApp\Timeout
Deletes the registry key Timeout and its all subkeys and values
Anyone have a clue?
I'm trying to create a batch script for deploying pda's and I need to disable the hardware buttons on a Pharos. Here's what i've found:
In a command line, you can use the command
REG DELETE \\HKLM\Software\microsoft\shell\keys\ /va /f
But i'm thinking this command deletes the LOCAL key on the computer, and I obviously need it to delete it on the PDA.
I've used this example:
REG DELETE KeyName [/v ValueName | /ve | /va] [/f]
KeyName [\\Machine\]FullKey
Machine Name of remote machine - omitting defaults to the current machine
Only HKLM and HKU are available on remote machines
FullKey ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY
ValueName The value name, under the selected Key, to delete
When omitted, all subkeys and values under the Key are deleted
/ve delete the value of empty value name <no name>
/va delete all values under this key
/f Forces the deletion without propmt
Examples:
REG DELETE HKLM\Software\MyCo\MyApp\Timeout
Deletes the registry key Timeout and its all subkeys and values
Anyone have a clue?