Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Help Changing a registry entry

I've executed the following line in a CMD line and it works perfectly:

Reg add "HKCU\Control Panel\Colors" /v Background /t REG_SZ /d "0 0 0" /f

However when I execute it as a PDQ command it has no effect.

I checked the registry before and after, etc. The command line works, the PDQ command does not. What am I doing wrong?

In case anyone wonders why I doing this. I've deployed bginfo as a startup command and it does not play well with some background pictures. So I'm setting the default background color to black, with no wallpaper. I am open to a better solution.

0

Comments

2 comments
Date Votes
  • Did you set "Run As" to "Logged on User"? You are pointing at the Current User hive, so it will only affect the deployment user.

    0
  • Of course not... :(  Thanks. It works great now.

    0