cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Stefan_B_
Engaged Sweeper
Hello,

i want to deploy the following registry key:


reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{57CD46CD-F140-4a70-B2BD-534F8A46FC0D} /v InstallLocation /t REG_SZ /d "C:\Program Files (x86)\PCS\PcsReg" /f


The log on the asset says the following:

Result: Deployment ended: Der Vorgang wurde erfolgreich beendet. Stop(Success). Credential: (***\Administrator). ShareCredential: (app-admin).

-> Successful ended


The problem is that it says successful but i dont see the key in the path. On the other side when I run the code on the local machine it adds the key.

Is it correct that the lansweeper deployment service user (***\Administrator) writes it in its HKCU path? Or am I completly wrong with my guess?
1 ACCEPTED SOLUTION
PeterJG
Champion Sweeper II
I think you have execute deployment under "currently logged on user" if you want to write HKCU key instead under system account.


additionally the uninstall list is store under HKLM key not HKCU

View solution in original post

1 REPLY 1
PeterJG
Champion Sweeper II
I think you have execute deployment under "currently logged on user" if you want to write HKCU key instead under system account.


additionally the uninstall list is store under HKLM key not HKCU