Page 1 of 1 1
Topic Options
#156172 - 2006-01-27 10:32 PM Regional Settings
Dodi Offline
Lurker

Registered: 2006-01-27
Posts: 4
Loc: Cheshire, UK
Hi All,

Hope you can help me!!

I am new to Kix and i am using it to map all my printers in my login script which is working fine.

My problem is that i use roaming profiles and some of my users machines have been set up using US keyboard settings and i need them to me UK. I need UK date, time, keyboard and default keybord.

I have searched through the registry and have found some of the registry keys that are required to change using the DOS command regedit /s. However it is not working. I manage to change some of the settings but not all of them.

I am looking for a script to change these settinga when the user logs on.

Any help would be great.

Thanks in advance

Simon
_________________________
Kix Newbie, but I want to change that!! Am reading Scripting with KiXtart

Top
#156173 - 2006-01-28 12:11 AM Re: Regional Settings
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you are wanting to change US keyboard to UK date, time and keyboard?

well, I'm not really sure what you are after but changing the default keyboard layout of a machine is nothing one should do in a script.
I mean, the default kb is the one set to fit the layout of the keyboard.

hmm.. are US and UK keyboards with the same layout?
if not, then you shouldn't screw them up.
and if they are, then it does not matter which one the keyboard layout is.
_________________________
!

download KiXnet

Top
#156174 - 2006-01-28 12:23 AM Re: Regional Settings
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Like Joel said are you sure that they are running all the same keyboards if not this could really screw things up.

But if you are sure try running a app called regmon, this will monitor all registry traffic. Run the app just before you switch the keyboard layout to UK, and you will see what changes are made in registry.

Top
#156175 - 2006-01-29 09:18 PM Re: Regional Settings
Dodi Offline
Lurker

Registered: 2006-01-27
Posts: 4
Loc: Cheshire, UK
Thank you for your response.

All the KB's need to be UK. There are two reasons:

(1) On a US keyboard the @ sign is above the number 2 which on a UK keyboard the 2 is ".

(2) We run a piece of software called SIMS and this requires a UK keyboard as the date needs to be DD/MM/YYYY not the America MM/DD/YYYY. If the American keyboard and regional settings are US all the reports are wrong and this causes problems on finanical reports.

I will try REGMON. Thank You.

Top
#156176 - 2006-01-29 09:41 PM Re: Regional Settings
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sorry, but I can't see why, if the keyboard has " above char 2, you should change the driver settings, so it will not give the correct output?

and, the keyboard layout and the language settings are unrelated!
so are the regional settings.
they are all three different selections and again, you should not screw up the keyboard one in your trial to fix some other.

one more,
if the software is so poorly designed that it can't handle dates properly, you should contact the provider and ask them to fix it.
what you are trying to do is just a workaround and will fail in the long run.
_________________________
!

download KiXnet

Top
#156177 - 2006-01-30 09:47 PM Re: Regional Settings
Dodi Offline
Lurker

Registered: 2006-01-27
Posts: 4
Loc: Cheshire, UK
Hi,

The software house is a hughe multinational called Capita and every school in the UK use this software for the management of it pupils, and keyboards in the UK are actucally printed differently than ones in the US have a look here http://www.bsjp.co.uk/ict/keyboard1.jpg.

Changing the regional settings is the solution and when i do this manually everything works fine, i just wanted to change this setting centrally.
_________________________
Kix Newbie, but I want to change that!! Am reading Scripting with KiXtart

Top
#156178 - 2006-01-30 11:20 PM Re: Regional Settings
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yes.
and now as we have removed the requirement of modifying keyboard layout settings, we can actually help you do this, centrally.
_________________________
!

download KiXnet

Top
#156179 - 2006-01-31 10:23 PM Re: Regional Settings
Dodi Offline
Lurker

Registered: 2006-01-27
Posts: 4
Loc: Cheshire, UK
How?
Top
#156180 - 2006-01-31 11:12 PM Re: Regional Settings
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
see:
HKEY_CURRENT_USER\Control Panel\International

not quite sure what values you need to change to get all you need but you can check the key with regedit, before and after you change them manually to see what you need to edit.
_________________________
!

download KiXnet

Top
#156181 - 2006-01-31 11:13 PM Re: Regional Settings
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and again, this capita is f*cked up software house if they can't deal with internationalization on their own!
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.078 seconds in which 0.04 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org