Welcome Guest.   Make a donation to an author on the site October 20, 2014, 06:30:36 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA to automate few tasks for new installed windows xp sp3  (Read 3643 times)
3dpinballchamp
Participant
*
Posts: 7


View Profile Give some DonationCredits to this forum member
« on: March 20, 2012, 03:54:51 AM »

for windows xp sp3 after a clean install i have to do this:

change clock to 12 hour format
set location (country)
show hidden files and folders.
unhide exensions for known file types.
unhide protected operating system files.

useful if app when opened with list of all the above with check-boxes next to each item to select or not,
and then to click it to do all the tasks without have to go to each separately in the control panel
Logged
Ath
Supporting Member
**
Posts: 2,229



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: March 20, 2012, 05:22:58 AM »

2 possible solutions:
- Create an image right after you've done all updates and settings, and restore that next time you need a refresh
- Use the Microsoft supplied install automation tooling (WAIK is the keyword I guess) if you need to run it on different hardware
Logged

Shades
Member
**
Posts: 1,669


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: March 20, 2012, 05:54:46 AM »

Go to the site that hosts a piece of software called: nLite

Its free, powerful and can do everything you want and so much more. It will create a new installation disc that is all setup as you want, which will eliminate (a lot of) the hassle of afterwards configuring Windows behavior.

Made quite a few of these discs already, which install XP SPIII 'fresh' in about 20 to 25 minutes, without any interaction on my part.

Slightly off-topic:
Because of the above I am actually thinking that it would be more practical (and maybe faster) to be able to reconstruct your Windows installation instead of backing it up...
Logged
Ath
Supporting Member
**
Posts: 2,229



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: March 20, 2012, 06:13:43 AM »

+1 for nLite thumbs up, should have been my 3rd option  Wink
Logged

3dpinballchamp
Participant
*
Posts: 7


View Profile Give some DonationCredits to this forum member
« Reply #4 on: March 20, 2012, 07:28:46 AM »

i know waik and nlite  my install is fully automated install using winnt.sif file
i used the tool which comes with windows install cd inside the TOOLS/DEPLOY.CAB
but i do not know how to add these options in it (what i write inside first post)
Logged
3dpinballchamp
Participant
*
Posts: 7


View Profile Give some DonationCredits to this forum member
« Reply #5 on: March 21, 2012, 03:07:09 AM »

so nobody can make it?
Logged
ewemoa
Honorary Member
**
Posts: 2,475



View Profile Give some DonationCredits to this forum member
« Reply #6 on: March 21, 2012, 03:38:09 AM »

I have also thought that a tool like this for post-installation configuration would be nice.

When I looked into configuring various options I was interested in, I did not always succeed in determining methods for configuration that didn't involve trying to "automate" pointing device movements and clicking to interface with various dialog boxen.  I didn't feel that was a very robust method so I didn't pursue it further.

I'm looking forward to something being suggested in this thread that already handles this type of situation well -- or if that doesn't happen, perhaps some kind of extendable tool being developed.

On a side note, for the case of Windows Explorer, Windows 7's version was what finally drove me away to consider an alternative application -- one which I can tweak the settings for and easily backup / restore.  I'm currently testing Double Commander, CubicExplorer, and FreeCommander XE for this purpose.
Logged
4wd
Supporting Member
**
Posts: 3,345



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: March 21, 2012, 05:27:03 AM »

change clock to 12 hour format
set location (country)
show hidden files and folders.
unhide exensions for known file types.
unhide protected operating system files.

By default Windows installs with the clock in 12 hour format, (h.mm.ss tt), I always have to change it to 24 hour format, (HH.mm).

You can use nlite to set all the rest, on the Unattended page you can set Location, Language and Localization:



On the Tweaks page you can set the Explorer settings:



As Shades and Ath suggest, I recommend you use nlite to set up your installation disc how you want it, it is so much easier than doing it any other way.


If you want to use a registry file:

This location sets the country, (in this case "12" = Australia, "14"=Austria), see what yours is and change accordingly:

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. Windows Registry Editor Version 5.00
  2.  
  3. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Control Panel\International\Geo]
  4. "Nation"="12"

The Explorer options you mention can be set with:

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. Windows Registry Editor Version 5.00
  2.  
  3. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
  4. "HideFileExt"=dword:00000000
  5. "Hidden"=dword:00000001
  6. "SuperHidden"=dword:00000000
  7. "ShowSuperHidden"=dword:00000001

One doubleclick on the file after installation will let you merge it and that takes care of 4/5 of your list.

I have also thought that a tool like this for post-installation configuration would be nice.

But they're already there, in the Control Panel applications.  The problem with doing a 'one Control Panel thing' is that, who decides what should be included?

One person might want Time/Date settings, another might not - to cater to everyone you'd have to combine all the Control Panel applications into just one humongous unmanageable one.

It is so much easier to create your installation media how you want it, (using WAIK, nlite, vlite, rt7lite, etc), and not have to do any tweaking after installation.

Your suggestion of the extensible program might sound good but for the person who has to write it, he's just going to be duplicating all the functions found in the separate Control Panel applications as plugins for a single program.
« Last Edit: March 21, 2012, 05:38:48 AM by 4wd » Logged

I do not need to control my anger ... people just need to stop pissing me off!
3dpinballchamp
Participant
*
Posts: 7


View Profile Give some DonationCredits to this forum member
« Reply #8 on: March 22, 2012, 05:36:11 AM »

i will look at nLite and see which lines it adds to a winnnt.sif file and i will copy it to my mine.
Logged
4wd
Supporting Member
**
Posts: 3,345



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: March 22, 2012, 07:51:24 AM »

i will look at nLite and see which lines it adds to a winnnt.sif file and i will copy it to my mine.

It doesn't add any extra lines to winnt.sif apart from that which are part of the normal winnt.sif commands/options, (eg. timezone, language, etc).

For any tweaks and things which require something more involved, (such as setting the Explorer options you want), it adds a file to the $OEM$ directory of the install media called cmdlines.txt which contains:

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. [Commands]
  2. "rundll32 advpack.dll,LaunchINFSection nLite.inf,U"

This calls the nlite.inf, (compressed as nlite.in_), file in the i386 directory during installation which contains changes to the registry and other options you choose, (none of which can be 'just' copied to the winnt.sif file.

For everything you ever wanted to know about unattended and customised installations, you really can't go past MSFN's Unattended Windows tutorials.
Logged

I do not need to control my anger ... people just need to stop pissing me off!
shmuel1
Participant
*
Posts: 32

View Profile Give some DonationCredits to this forum member
« Reply #10 on: June 27, 2012, 11:21:39 AM »

I think the 2nd idea in Reply #7 by 4wd is the simplest solution. To make a registry editing file you just type text in a text file, give the file a .reg extension, then double-click the file on the computer that you want to set up.

The format is pretty simple. You need Windows Registry Editor Version 5.00 at the top of the file, a blank line, then the registry location you want to edit, then the items within that location that you want to edit and their values. In between two or more registry locations, you need to leave a blank line.

I think this should work for you on XP:

Windows Registry Editor Version 5.00
     
[HKEY_CURRENT_USER\Control Panel\International]
"iTime"="0"
"iTLZero"="0"
"sTimeFormat"="h:mm:ss tt"

[HKEY_CURRENT_USER\Control Panel\International\Geo]
"Nation"="12"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000
"Hidden"=dword:00000001
"SuperHidden"=dword:00000000
"ShowSuperHidden"=dword:00000001


Take this code and paste it into a text file with a .reg extension.

Edit "Nation"="12"
Replace the 12 with your country's value.
Here's a list of country values:
http://msdn.microsoft.com...-us/library/ms912039.aspx

Here's a link that explains .reg files in detail:
http://support.microsoft.com/kb/310516
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.082s | Server load: 0.12 ]