MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
General >> Desktop Icon Save and Restore >> Saving to a file instead of registry
(Message started by: Jackized2 on Jul 4th, 2009, 5:40pm)

Title: Saving to a file instead of registry
Post by Jackized2 on Jul 4th, 2009, 5:40pm
This is about the command line program.
I have tried many desktop restore programs but I like yours because it is very simple. One thing I would change is where the layout is stored. I work for a school district and the sweet little children love to move all the icons. They also use folder redirection which means that anywhere they log on in the building their desktop is the same. It would be nice if your program saved the layout to an *.ini file or something that could reside on the server. Then no matter where someone logs in their desktop layout would be the same. I did get your program to work for me by simply exporting the registry entry "HKEY_CURRENT_USER\Software\JOConnell" at logoff and importing it at logon.


batch file at logoff...
\\servername\sharefolder\desktopcmd.exe save /y
regedit /e "\\servername\sharefolder\%username%\desktopcmd.reg" "HKEY_CURRENT_USER\Software\JOConnell"


batch file at logon...
regedit /s "\\servername\sharefolder\%username%\desktopcmd.reg"
\\servername\sharefolder\desktopcmd.exe restore /y


Thank You
Jack Henry



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.