Home All Groups Group Topic Archive Search About

How to change regional settings (date format) from command line ?

Author
12 Oct 2007 9:19 AM
flahmeshess
I searched a little on this forum and I found "control intl.cpl" but
it just start the panel.  I want something that does not require human
intervention, like some parameters that specify the format and it
automatically does the job ?  Is this possible ?  And how ?  Thanks
very much !

Author
12 Oct 2007 12:10 PM
John John
A "kludge" way of doing it, no doubt, but one way that I can think of is
by importing the settings to the registy.

It's a "per User" setting so it's held in the registry's HKCU key.

Look at:  HKEY_CURRENT_USER\Control Panel\International

You can use Regedit.exe and a .reg file to import the setting to the
key.  (regedit /s x:"\path to file\regfilename.reg")  You can also push
the .reg  file by logon script or GPO.

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/34646.mspx?mfr=true

John

flahmeshess wrote:
Show quoteHide quote
> I searched a little on this forum and I found "control intl.cpl" but
> it just start the panel.  I want something that does not require human
> intervention, like some parameters that specify the format and it
> automatically does the job ?  Is this possible ?  And how ?  Thanks
> very much !
>
Author
15 Oct 2007 3:40 PM
flahmeshess
I'm just concern as my company is going to remove our administrator
rights.  Would this registry method still work ?
Also, is there a way to use the control panel approach ?  Seems quite
useless to me if it just call up the panel.  Don't you think so ?

Thanks !


On Oct 12, 8:10 pm, John John <audetw***@nbnet.nb.ca> wrote:
Show quoteHide quote
> A "kludge" way of doing it, no doubt, but one way that I can think of is
> by importing the settings to the registy.
>
> It's a "per User" setting so it's held in the registry's HKCU key.
>
> Look at:  HKEY_CURRENT_USER\Control Panel\International
>
> You can use Regedit.exe and a .reg file to import the setting to the
> key.  (regedit /s x:"\path to file\regfilename.reg")  You can also push
> the .reg  file by logon script or GPO.
>
> http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/r...
>
> John
>
> flahmeshess wrote:
> > I searched a little on this forum and I found "control intl.cpl" but
> > it just start the panel.  I want something that does not require human
> > intervention, like some parameters that specify the format and it
> > automatically does the job ?  Is this possible ?  And how ?  Thanks
> > very much !
Author
15 Oct 2007 4:56 PM
John John
I know of no way to do this at the command prompt and I know of no
Microsoft tool or built in utility that allows you to do this direcly at
the command prompt.  Perhaps there are third party helpers that could be
used to do it but I don't know any at this time.  This is a user
preference, you should be able to change it via the Control Panel
Regional Options applet even if you do not have Administrator rights.

John

flahmeshess wrote:

Show quoteHide quote
> I'm just concern as my company is going to remove our administrator
> rights.  Would this registry method still work ?
> Also, is there a way to use the control panel approach ?  Seems quite
> useless to me if it just call up the panel.  Don't you think so ?
>
> Thanks !
>
>
> On Oct 12, 8:10 pm, John John <audetw***@nbnet.nb.ca> wrote:
>
>>A "kludge" way of doing it, no doubt, but one way that I can think of is
>>by importing the settings to the registy.
>>
>>It's a "per User" setting so it's held in the registry's HKCU key.
>>
>>Look at:  HKEY_CURRENT_USER\Control Panel\International
>>
>>You can use Regedit.exe and a .reg file to import the setting to the
>>key.  (regedit /s x:"\path to file\regfilename.reg")  You can also push
>>the .reg  file by logon script or GPO.
>>
>>http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/r...
>>
>>John
>>
>>flahmeshess wrote:
>>
>>>I searched a little on this forum and I found "control intl.cpl" but
>>>it just start the panel.  I want something that does not require human
>>>intervention, like some parameters that specify the format and it
>>>automatically does the job ?  Is this possible ?  And how ?  Thanks
>>>very much !
>
>
>
Author
16 Oct 2007 3:37 PM
flahmeshess
Thanks very much for your help !

On Oct 16, 12:56 am, John John <audetw***@nbnet.nb.ca> wrote:
Show quoteHide quote
> I know of no way to do this at the command prompt and I know of no
> Microsoft tool or built in utility that allows you to do this direcly at
> the command prompt.  Perhaps there are third party helpers that could be
> used to do it but I don't know any at this time.  This is a user
> preference, you should be able to change it via the Control Panel
> Regional Options applet even if you do not have Administrator rights.
>
> John
>
> flahmeshess wrote:
> > I'm just concern as my company is going to remove our administrator
> > rights.  Would this registry method still work ?
> > Also, is there a way to use the control panel approach ?  Seems quite
> > useless to me if it just call up the panel.  Don't you think so ?
>
> > Thanks !
>
> > On Oct 12, 8:10 pm, John John <audetw***@nbnet.nb.ca> wrote:
>
> >>A "kludge" way of doing it, no doubt, but one way that I can think of is
> >>by importing the settings to the registy.
>
> >>It's a "per User" setting so it's held in the registry's HKCU key.
>
> >>Look at:  HKEY_CURRENT_USER\Control Panel\International
>
> >>You can use Regedit.exe and a .reg file to import the setting to the
> >>key.  (regedit /s x:"\path to file\regfilename.reg")  You can also push
> >>the .reg  file by logon script or GPO.
>
> >>http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/r...
>
> >>John
>
> >>flahmeshess wrote:
>
> >>>I searched a little on this forum and I found "control intl.cpl" but
> >>>it just start the panel.  I want something that does not require human
> >>>intervention, like some parameters that specify the format and it
> >>>automatically does the job ?  Is this possible ?  And how ?  Thanks
> >>>very much !
Author
16 Oct 2007 8:44 PM
John John
You're welcome.

John

flahmeshess wrote:

Show quoteHide quote
> Thanks very much for your help !
>
> On Oct 16, 12:56 am, John John <audetw***@nbnet.nb.ca> wrote:
>
>>I know of no way to do this at the command prompt and I know of no
>>Microsoft tool or built in utility that allows you to do this direcly at
>>the command prompt.  Perhaps there are third party helpers that could be
>>used to do it but I don't know any at this time.  This is a user
>>preference, you should be able to change it via the Control Panel
>>Regional Options applet even if you do not have Administrator rights.
>>
>>John
>>
>>flahmeshess wrote:
>>
>>>I'm just concern as my company is going to remove our administrator
>>>rights.  Would this registry method still work ?
>>>Also, is there a way to use the control panel approach ?  Seems quite
>>>useless to me if it just call up the panel.  Don't you think so ?
>>
>>>Thanks !
>>
>>>On Oct 12, 8:10 pm, John John <audetw***@nbnet.nb.ca> wrote:
>>
>>>>A "kludge" way of doing it, no doubt, but one way that I can think of is
>>>>by importing the settings to the registy.
>>
>>>>It's a "per User" setting so it's held in the registry's HKCU key.
>>
>>>>Look at:  HKEY_CURRENT_USER\Control Panel\International
>>
>>>>You can use Regedit.exe and a .reg file to import the setting to the
>>>>key.  (regedit /s x:"\path to file\regfilename.reg")  You can also push
>>>>the .reg  file by logon script or GPO.
>>
>>>>http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/r...
>>
>>>>John
>>
>>>>flahmeshess wrote:
>>
>>>>>I searched a little on this forum and I found "control intl.cpl" but
>>>>>it just start the panel.  I want something that does not require human
>>>>>intervention, like some parameters that specify the format and it
>>>>>automatically does the job ?  Is this possible ?  And how ?  Thanks
>>>>>very much !
>
>
>