shornw Posted January 24, 2007 Posted January 24, 2007 hi Can anyone offer any advice or help. I have to change a users wallpaper and as thay have removed any network admins from local Administrator group I cant use a domain policy. I am using RegWrite to modify HKCU\control Panel\desktop>>>>wallpaper and it removes the existing wallpaper but does NOT replace it with the required image, even after a reboot to re-read the registry. Any ideas gratefully received. Thanks [font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]
MHz Posted January 24, 2007 Posted January 24, 2007 Search words: +ezzetabi +wallpaper You should get a hit. Needs a DllCall to update the registry.
shornw Posted January 25, 2007 Author Posted January 25, 2007 Hi MHZ Thanks for this.. actually the resolution was so pathetically simple I'm almost embarrassed!!! ;-) The registry uses the file %userprofile%\Local Settings\Application Data\Microsoft\wallpaper01 so all I had to do was copy the image I wanteed to impose on the user to this location, overwriting the original, then disable the desktop tab in desktop propreties via the registry.... job done Isnt it odd how we overcomplicate things sometimes, when the simplest of fixes works...I find I do it all the time Thanks again [font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]
Moderators SmOke_N Posted January 25, 2007 Moderators Posted January 25, 2007 Isnt it odd how we overcomplicate things sometimes, when the simplest of fixes works...I find I do it all the timeHa!!... Speak for yourself... I do it ALL the time! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
BrettF Posted January 25, 2007 Posted January 25, 2007 Ha!!... Speak for yourself... I do it ALL the time!Me too... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now