Hi to all,
any help to how insert/search a new var in:
Computer\HKEY_CURRENT_USER\Software\PDFCreator\Program ?
tks
Romeo/Zingoni
Hi to all,
any help to how insert/search a new var in:
Computer\HKEY_CURRENT_USER\Software\PDFCreator\Program ?
tks
Romeo/Zingoni
Maybe this thread can serve you
Quizas este hilo te pueda servir
viewtopic.php?f=3t=20357start=0hilit=HKEY_CURRENT_USER
&&&
tks, it works !
now i am able to create a new var....but now i'am not able to cancel this new var using the function:
oreg:delete(cSubKey)
also using the function RegDeleteKey(oreg:nHandle,cSubKey) (it returns code error 2)
the cSubKey always exists
...additional help ?
tks
clear host
$null = New-PSDrive -Name HKU -PSProvider Registry -Root Registry::HKEY_USERS
Get-PSDrive -PSProvider Registry
Push-Location
$array = @("Biene1", "Biene2", "Biene3", "Biene4" )
#, "Winhotel1", "Winhotel2", "Winhotel3", "Winhotel4", "Winhotel5"
foreach ($element in $array) {
$element
$cQuelle = ' c:\users\' + $element + '\ntuser.dat'
$pfad = 'HKU:\Testuser\Control Panel\Mouse'
reg LOAD HKU\Testuser $cQuelle
Write-Host $cQuelle
Write-Host $pfad
Set-ItemProperty -Path $pfad -Name 'DoubleClickHeight' -Value 50
Set-ItemProperty -Path $pfad -Name 'DoubleClickSpeed' -Value 370
Set-ItemProperty -Path $pfad -Name 'DoubleClickWidth' -Value 50
Set-Location $pfad
reg UNLOAD HKU\Testuser
}
Pop-Location