MIS Systems Thread, Spring Update grrrrr in Technical; I did as you @ NorthernSands so had a new server and needed a new mapped drive as well as ...
3rd May 2011, 09:03 AM #16
I did as you @NorthernSands so had a new server and needed a new mapped drive as well as sims.ini (don't know why it's had the server name hardcoded!). This was the batch file i made that i got the technicians to go around and run in the holiday. I got the Network Manager to put the mappings parts into Logon script for staff.
Also i made the batch file available as a link on the intranet for those that had issues, mostly remote offices and computers that could not be accessed. The only slight issue was that the script needed to be 'run as adminstrator' in order for the files to copy to those locations. To make this easier for staff, i made a shortcut to the batch file. Then right click properties of the shortcut and advance properties has the option to 'run as administrator'. This then meant it could copy the files to those restricted windows 7 locations.
Now the new SIMS.ini refers to the S: drive, so shouldn't ever need changing again.
echo DELETING OLD S: DRIVE
net use s: /delete
echo MAPPING NEW S: DRIVE
net use s: \\SIMSSERVER\SIMSDATA
echo COPYING SIMS.INI TO PC
xcopy "G:\vik\sims\sims.ini" c:\windows\ /f /h /r /y
echo COPYING CONNECT.INI TO PC
xcopy "G:\vik\sims\connect.ini" "c:\program files\sims\sims .net\" /f /h /r /y
echo IF THE DRIVE WAS MAPPED SUCCESSFULLY AND BOTH FILES COPIED ACROSS THEN YOU CAN RUN SIMS .NET
echo SIMS SHOULD UPGRADE ITSELF THEN YOU CAN LOGIN
Thanks to vikpaw from:
NorthernSands (3rd May 2011)
By harryeds in forum MIS Systems
Last Post: 2nd May 2011, 09:57 AM
By vikpaw in forum MIS Systems
Last Post: 31st May 2010, 09:26 AM
Last Post: 27th February 2009, 10:18 AM
By gshaw in forum Windows
Last Post: 5th June 2008, 06:32 PM
By EduTech in forum Gaming
Last Post: 24th May 2008, 07:35 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)