Rank: Newbie Groups: Member
Joined: 9/7/2008 Posts: 7 Points: 21 Location: Lovington, New Mexico USA
|
I use my lab to teach different classes during the day so I created a batch file that I run from ClassPLUS that changes the shortcuts in the Start Menu and on the Desktop.
As I began to create the batch file, I kept adding other items to it. The program below makes several changes to the registry using files that are not provided here - please contact me if you would like those as well. As always be careful whenever working with the Registry - always make a backup first and test on one machine be applying these changes to all the machines in your lab.
By the way, we are running Windows XP
These are the command to set DesktopPLUS for "another class"
echo on rem ****I like to see that the batch file is running
rem ********* changes icons for Alternate Class ******************************************** cd "C:\Program Files\DEPCO, Inc\DesktopPLUS\Data\" copy "\\192.168.1.1\Installs\settings\Alternate.dsd" *.*
rem ***************Reset Assistant**************************************************** cd "C:\Documents and Settings\depcostudent\Local Settings\Application Data\DEPCO\Assistant v2\" del *.xml
rem ***************Wallpaper**************************************************** cd "C:\Program Files\DEPCO, Inc\Common Files\Wallpaper" copy \\192.168.1.1\installs\settings\wildcat.bmp SGAWallpaper.bmp ***I use different wallpaper for each class so I can quick see which class the station is set for******
rem ***************Registry entries**************************************************** cd c:\ regedit -s \\192.168.1.1\Installs\settings\AlternateShortcuts.reg rem ***** for alternate shortcuts *****
rem ***************Drive Mapping**************************************************** net use P: \\192.168.1.1\Common\darkroom echo Drives mapped
******end of file*******
These are the command to restore DesktopPLUS for "Tech Lab" echo on
rem ********* Unmap Drives: for my other class I use a mapped drive, this command gets rid of it****** net use P: /delete
rem ***************Reset Assistant: when the students close the various toolbars*********************** cd "C:\Documents and Settings\depcostudent\Local Settings\Application Data\DEPCO\Assistant v2" del *.xml
rem ***************Wallpaper: these commands copy a bmp image that I use as the wallpaper on all the student stations*************** cd "C:\Program Files\DEPCO, Inc\Common Files\Wallpaper" copy \\192.168.1.1\installs\settings\SGAWallpaper.bmp *.*
rem ***************Registry entries**************************************************** cd c:\ regedit -s \\192.168.1.1\installs\settings\power2.reg rem ****sets the Power Control Panel settings to desktop regedit -s \\192.168.1.1\installs\settings\power3.reg rem ****it is in 2 places regedit -s \\192.168.1.1\installs\settings\Autologon.reg rem ****logs the student station on to the Windows network without prompt regedit -s \\192.168.1.1\installs\settings\NumLock.reg rem *******turns the Numlock on, helpful when using a number as password regedit -s \\192.168.1.1\installs\settings\DesktopPLUS.reg rem *****various settings from the DesktopPLUS control panel regedit -s \\192.168.1.1\installs\settings\DesktopPLUS_Password.reg rem ******set or change the password for DesktopPLUS regedit -s \\192.168.1.1\installs\settings\WinDisplay.reg rem *******used to set-reset the screen resolution regedit -s \\192.168.1.1\installs\settings\MainShortcuts.reg rem ***** for standard shortcuts *****
rem *******the following commands are not currently used, but provide additional ideas rem %systemroot%\explorer.exe "M:\" rem ****opens windows explorer rem start iexplore "http://www.depcollc.com/forum/" rem ******opens Internet Explorer to the address provided rem scandisk command sfc /scannow rem *****is supposed to open and run Scandisk - does not seem to work
******end of file*******
Best of luck! If I can help you impliment any of these ideas, please let me know
|