Jump to content

Time Zone Issues?


Recommended Posts

When I use my winnt.sif, it doesn't save the time zone (Mountain Standard), but instead defaults to Pacific. I have tried several renditions, includeing my manually created .sif and one generated by setupmgr.exe, both have the same problem. I have also tried the one found on This page of the forum, but it also doesn't work.

here is my current manually created winnt.sif, can anyone see where I am missing something?

[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates=Yes

[Unattended]
   UnattendSwitch=Yes
   OEMSkipEula=Yes
   OEMPreinstall=Yes
   OEMPnPDriversPath="drivers\001\sil3112_sata";"drivers\002\fasttrak_ide";"drivers\009\fasttrak_sata"
   UnattendMode=ProvideDefault
   TargetPath=\WINDOWS
   Repartition=No
   FileSystem=*
   DriverSigningPolicy=Ignore
   ExtendOemPartition=1

[GuiUnattended]
   AdminPassword=***Removed***
   EncryptedAdminPassword=Yes
   OEMSkipRegional=1
   TimeZone=10
   OEMSkipWelcome=1

[TapiLocation]
   CountryCode=1
   AreaCode=801

[UserData]
   ProductID=***Removed***
   FullName=***Removed***
   OrgName="Home"
   ComputerName=War

[Display]
   BitsPerPel=16
   Xresolution=1024
   YResolution=768

[RegionalSettings]
   LanguageGroup=1
   Language=00000409

[Identification]
   JoinWorkgroup=Home

[Networking]
   InstallDefaultComponents=Yes

[WindowsFirewall]
   Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
   Mode = 0

[Components]
   msnexplr=off
   msmsgs=off

Most of the rest of the file works just fine, but I also have an issue with the

[Unattended]
ExtendOemPartition=1

part of the code not actually extending the partition to the end, but that is not as important as time zone (I own PM)

Thanks ahead of time, this web site has helped alot already!

Link to comment
Share on other sites


Sorry it took me so long to re-post, but it took me a while to generate my next build. Unfortunatly, I have to report that that also failed, my new winnt.sif file looks like this

[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates=Yes

[Unattended]
   UnattendSwitch=Yes
   OEMSkipEula=Yes
   OEMPreinstall=Yes
   OEMPnPDriversPath="drivers\001\sil3112_sata";"drivers\002\fasttrak_ide";"drivers\009\fasttrak_sata"
   UnattendMode=ProvideDefault
   TargetPath=\WINDOWS
   Repartition=No
   FileSystem=*
   DriverSigningPolicy=Ignore
   ExtendOemPartition=1

[GuiUnattended]
   AdminPassword=**Removed**
   EncryptedAdminPassword=Yes
   OEMSkipRegional=1
   TimeZone=010

[TapiLocation]
   CountryCode=1
   AreaCode=801

[UserData]
   ProductID=**Removed**
   FullName=**Removed**
   OrgName="Home"
   ComputerName=War

[Display]
   BitsPerPel=16
   Xresolution=1024
   YResolution=768

[RegionalSettings]
   LanguageGroup=1
   Language=00000409

[Identification]
   JoinWorkgroup=Home

[Networking]
   InstallDefaultComponents=Yes

[WindowsFirewall]
   Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
   Mode = 0

[Components]
   msnexplr=off
   msmsgs=off

but it still doesn't work..... Thanks for the try, got any other ideas?

Link to comment
Share on other sites

  • 3 years later...

It may be a defect in the design of Windows setup in the handling of items in the answer file (it would not be the only one).

Try adjusting the Time Zone at execution of CMDLINES.TXT or SetupParams.

Link to comment
Share on other sites

Try adjusting the Time Zone at execution of CMDLINES.TXT or SetupParams.

what would be the entries to make in cmdlines.txt?

I had taken note the the modification can be done around the time. Microsoft Corporation had an article

The current time zone information is maintained at [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] in the registry.

Specific time zone information may be found at [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones].

Link to comment
Share on other sites

Sorry it took me so long to re-post, but it took me a while to generate my next build. Unfortunately, I have to report that that also failed, my new winnt.sif file looks like this...
Try setting "UnattendSwitch" in [unattended] section to "No" instead of "Yes". When an answer exists to skip something in Windows 2000 setup, setup continues skiping what was meant to be skipped, but still applies parameters specified in the answer file for the skipped section. Perhaps the Windows XP setup differs with this respect; it may skip sections but not apply the skipped sections' answer (could also be a bug).
Link to comment
Share on other sites

Here is my WINNT.SIF that works

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates="NO" ;If this entry is missing or set to anything other than 1 or Yes, then the Help Protect Your PC page displays, enabling the end user to choose to schedule Automatic Updates.

[Unattended]
;OemPnPDriversPath = Drivers\Audio\SMaxOld;Drivers\Audio\SMaxCH61;Drivers\Audio\Conex1;Drivers\Audio\Conex2;Drivers\Audio\SMaxCH62;Drivers\Audio\SMaxHD;Drivers\Chipset\Intel;Drivers\Chipset\ATIRS200;Drivers\Input\vmmouse;Drivers\Input\syntouch;Drivers\Input\elotouch;Drivers\Modem\ConexACL;Drivers\Modem\ConexHDA;Drivers\Modem\ConexPCI;Drivers\Modem\ConexUSB;Drivers\Modem\ConexHCF;Drivers\Modem\AgereSM;Drivers\Modem\AgereSM2;Drivers\Modem\AgereHD;Drivers\Network\BCM57xx;Drivers\Network\BCM4401;Drivers\Network\RTL8139;Drivers\Network\Pro100;Drivers\Network\Pro1000;Drivers\Network\ProXGB;Drivers\Network\vmxnet;Drivers\Network\DP83816;Drivers\Storage\vmscsi;Drivers\Storage\TIxx12;Drivers\Storage\IntlSATA;Drivers\Video\Intel945;Drivers\Video\Intel865;Drivers\Video\Intel845;Drivers\Video\vmvideo;Drivers\Video\nvidia;Drivers\Video\ATI;Drivers\Video\ATIMob;Drivers\Video\IntlHDMI;Drivers\Wireless\IntlWIFI;Drivers\Wireless\BCM54g
UnattendMode=FullUnattended
OemPreinstall=No ;This option is default to No but if you are using the $OEM$ Distribution folders then it needs to be set to Yes, so that Setup regards this installation as a distribution and copies these files over to the system drive. This occurs at the end of Text-mode Setup.
TargetPath=\WINDOWS
UnattendSwitch="Yes" ;Set this to yes to skip the "Setting Up Internet Connection" and "Create User Accounts" screens
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
Hibernation="No"
KeyboardLayout = Croatian
DisableDynamicUpdates="Yes"
DUDisable ="Yes" ;Specifies whether to connect to the Windows Update site to download updates during Setup.

[SystemFileProtection]
;SFCQuota=0
;SFCScan=0
;SFCDisable=ffffff9d

[SystemRestore]
;CreateFirstRunRp=0
;DisableSR=ffffff9d

[GuiUnattended]
AdminPassword=*
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1 ;Enables unattended Setup to skip the Regional and Language Options page in GUI-mode Setup and Mini-Setup.
OemSkipWelcome=1 ;Enables unattended Setup to skip the Welcome page in GUI-mode Setup and Mini-Setup.
TimeZone="100"

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="EA"
OrgName="A"
ComputerName=*

[RegionalSettings]
LanguageGroup=2
SystemLocale=0000141a
UserLocale=0000141a
InputLocale=141a:0000141a

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[NetAdapters]
Adapter1=params.Adapter1

[params.Adapter1]
INFID=*

[NetClients]
MS_MSClient=params.MS_MSClient

[NetServices]
MS_SERVER=params.MS_SERVER

[NetProtocols]
MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=No
IPAddress=10.0.0.100
SubnetMask=255.0.0.0
DefaultGateway=10.0.0.139
DNSServerSearchOrder=195.222.32.10,195.222.32.20
WINS=No
NetBIOSOptions=0

[SetupData]
;OSLoadOptionsVar="/noexecute=alwaysoff"

[TerminalServices]
AllowConnections=1 ; Enables Remote Desktop

Link to comment
Share on other sites

(rajesh.kumar @ Oct 20 2008, 03:54 AM)

QUOTE (Ascii2 @ Oct 20 2008, 12:17 AM)

Try adjusting the Time Zone at execution of CMDLINES.TXT or SetupParams.

what would be the entries to make in cmdlines.txt?

I had taken note the the modification can be done around the time. Microsoft Corporation had an article

The current time zone information is maintained at [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] in the registry.

Specific time zone information may be found at [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones].

degradacija Posted Oct 20 2008, 09:56 PM

Try putting quotation marks like this

TimeZone="100"

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Time Zones]

"TimeZoneKeyName"="India Standard Time"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]

"StandardName"="India Standard Time"

and

TimeZone="190" in cmdlines.txt works but it is still 1 hr behind.( ie, still at the same afghan time). after unchecking "synchronise with the internet time server", it shows the correct time.

is there any reg entry to disable this or do i need to just disable "Time Server" in services?

Edited by rajesh.kumar
Link to comment
Share on other sites

TimeZone="190" in cmdlines.txt works but it is still 1 hr behind.( ie, still at the same afghan time). after unchecking "synchronise with the internet time server", it shows the correct time.

is there any reg entry to disable this or do i need to just disable "Time Server" in services?

Synncronization

I recently have been customizing an unattended installation source for Windows XP Professional with Service Pack 1. Using a different time zone, I also encountered the problem of time being one hour off when synchronizing with a time server.

I made the following .reg file (encoded in Unicode) to disable synchronization with time server:

Windows Registry Editor Version 5.00

; This change disables Windows Time Synchronization with a server
; This tweak does not disable the Windows Time Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"Type"="NoSync"

I did find a fix that, once applied, give correct time with time server synchronization:

"Unofficial DST Revised Update for Windows 2000 SP4/XP/XP SP1/XP SP1a" from http://www.mdgx.com/add.htm#TZU (AXCEL216 website) could correct the problem.

The package uses /Q for quiet installation (also /R:N may be used as a no reboot switch, but I do not believe the package ever invokes a reboot).

Edited by Ascii2
Link to comment
Share on other sites

; This change disables Windows Time Synchronization with a server

; This tweak does not disable the Windows Time Service

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]

"Type"="NoSync"

i did add this reg too but the same pro. so i removed KB942763, KB951072 from integration since we dont need dst here. by the way KB951072-v2 is released and hope that has the fix.

but not yet tested.

Edited by rajesh.kumar
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...