RE: [Unattended] registry + other user

2004-03-26 Thread James Barlow
In the Windows 2000 Resource Kit there is a utility reg.exe that can be
used in batch files to script registry modifications.

For example, here are a couple of lines using reg.exe (in the z:\bin
directory) that modify variables in the HKEY_LOCAL_MACHINE Hive. I use
these on a Windows XP installation for a laptop that does not belong to
a domain:
 
rem Disable Windows Welcome Screen (classic logon)
%z%\bin\reg add HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon /v AllowMultipleTSSessions /t REG_DWORD /f
/d 0x0
%z%\bin\reg add HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon /v LogonType /t REG_DWORD /f /d 0x0

Perhaps you could use a logon script to check for group membership
(KiXtart is an easy way of doing this) and call an appropriate batch
file to set registry values in HKEY_CURRENT_USER, although I am not sure
if the logon script would attempt to run before the user profile had
been created. If you stick a shortcut to a kiXtart script in
C:\Documents and Settings\All Users\Start Menu\Programs\Startup this
should run at the correct point.

James Barlow
TRL Technology Ltd.

http://www.kixtart.org/
KiXtart Home Page

-Original Message-
From: Patrick J. LoPresti [mailto:[EMAIL PROTECTED] 
Sent: 25 March 2004 19:40
To: Julien TOUCHE
Cc: Unattended List
Subject: Re: [Unattended] registry + other user


Julien TOUCHE [EMAIL PROTECTED] writes:

 has someone some experience with script to edit registry of other 
 users ?
 
 i explain:
 for now, i have *.reg o to modify HKLM et HKCU for Admin.
 but if i want to add some users (with Addusers for example) and change

 their registry settings only on each of them or their group, how ? 
 HKEY_USERS\.DEFAULT is no good as i don't want same settings for all.
 example:
 have some settings for group admin, group users, group guest.

With local profiles, you cannot do this until after the user has logged
in for the first time.  This is because the user-specific registry
settings are stored in the profile, and a local profile is created (by
copying the Default User profile) the first time a user logs in.

If the user has logged in already, or if you are using roaming profiles,
you can edit the NTUSER.DAT registry hive in the profile folder.  For
local profiles, this is normally C:\Documents and Settings\username.
For roaming profiles, it is whatever network directory you use to hold
the profiles.

To edit these settings, you must first load the hive.  Interactively,
you would run regedt32, select Registry - Load Hive, navigate to the
NTUSER.DAT file you want, and choose where in the registry the hive
should appear.  (Note that NTUSER.DAT is a hidden file.)  Then you
would edit the registry and unload the hive.

MS documents this here:

 
http://www.microsoft.com/windows2000/en/server/help/load_hive_reged.htm

From a Perl script, you would use Win32::TieRegistry, call the Load
method to load the hive, make your registry changes, and call the Unload
method.  We use this approach to edit the Default User hive in our
win2ksp4-notips.pl script.  Search for NTUSER.DAT in:

 
http://cvs.sourceforge.net/viewcvs.py/unattended/unattended/install/bin/
win2ksp4-notips.pl?view=markup

 - Pat

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender
immediately by telephoning +44(1684) 278700. You should not copy it
or use it for any purpose nor disclose or distribute its contents to
any other person.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] registry + other user

2004-03-26 Thread Julien Touche
On Fri, Mar 26, 2004 at 10:35:20AM -, James Barlow wrote:
 In the Windows 2000 Resource Kit there is a utility reg.exe that can be
 used in batch files to script registry modifications.
 
 Perhaps you could use a logon script to check for group membership
 (KiXtart is an easy way of doing this) and call an appropriate batch
 file to set registry values in HKEY_CURRENT_USER, although I am not sure
 if the logon script would attempt to run before the user profile had
 been created. If you stick a shortcut to a kiXtart script in

but coult it elevate privilege to change reg entry ? (unlike perl,
autoit, ...)

a normal user (and guest) can't modify all keys of his current_user
tree: for example, if i log in as a user and try to load a reg to
disable  control panel, run,  co, it says it can't: some are opened by
system or other process.

regards

julien


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] Some ideas about the unattended 4.0b version

2004-03-26 Thread TUSSEY Aloha
 Hi all,
I haven't gone that far with my first setup but at least my first installation went 
thru to the level of the OS.
As at now I have been thinking of the following:
1. A method for selecting and installing different languages of the an application( 
say: OFF2K english and Czech version depending on the base OS language version 
installed or to be able to select meself)
2. machine specific drivers copied to the $OEM$\$1 are all copied to the C: drive even 
if I did not select the directory. e.g an IBM T40 and a DELL C600. After installing 
the IBM I found out that the C600 directory was also copied to the C drive even though 
it was an IBM. - and even it did not clean out the mess after the installation. With 
so many drivers for a specific model(IBM T40 have a size of cca 120 MB all inclusive) 
the directory can grow and the 2G initial partition will not fit. I have read someone 
reporting on not enough space during XP install- this could be the problem.
3. Can the installation have separate product ID( product Key) for each OS.?
4. Can the HW specific drivers be taken out of the OS installation point ( from $OEM$ 
bla bla). so that I do not have duplicate HW drivers for each OS. Most of these 
drivers are common to most OSes.

Will be back with more questions and ideas.
Thanx to all
-Original Message-
From: [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 4:05 AM
To: [EMAIL PROTECTED]
Subject: unattended-info digest, Vol 1 #343 - 1 msg


___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info





---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] Local Group Policy Automation

2004-03-26 Thread Edmund J. Sutcliffe
Hi,
I wonder if anyone else is doing this. We currently configure
a local group policy file on workstations, that run the same login script
at startup on every machine.
We do this by opening the MMC, selectiong the Group Policy Snap
in, and then under the Computer Configuration Windows Settings we set
the startup script to point to this startup.cmd script.
This is always run, when the machine is started up, and allows
laptops to check things before the user gets going.
Does anyone have any ideas on how to script this into the
unattended configuration ?
Thanks in advance
Edmund
 -- 

Edmund J. Sutcliffe Thoughtful Solutions; Creatively 
[EMAIL PROTECTED]   Implemented and Communicated
http://panic.fluff.org+44 (0) 7976 938841






---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


RE: [Unattended] Problems installing XP

2004-03-26 Thread DE-LOS-SANTOS,ORIOL (HP-Spain,ex1)
The amount of drivers could be a reason (aboun 25M)

I'll try changing that or upgrading the unattended version.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Russell Smith
 Sent: Thursday, March 25, 2004 9:53 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Unattended] Problems installing XP
 
 
 I have been installing win XP successfully on 2G for ages 
 now.  Are you 
 copying a lot of drivers with the installation? Other than 
 that, I can't 
 think why it would complain about not enough space.  I am 
 using winxpoem for 
 these installs though.
 
 Regards
 
 Russell Smith
 
 On Fri, 26 Mar 2004 04:26 am, DE-LOS-SANTOS,ORIOL 
 (HP-Spain,ex1) wrote:
  We have been successfully installing W2k. Today I tried 
 installing WXP 
  and got an error telling me that the partition where I was 
 trying to 
  install was too small ... I have the 2000MB initial 
 partitioning that 
  Unattended uses and don't know how to change that. I understand the 
  2000MB limit was due to the DOS boot.
 
  Any suggestions?
 
  Thanks
  Oriol de los Santos
 
 
  ---
  This SF.Net email is sponsored by: IBM Linux Tutorials
  Free Linux tutorial presented by Daniel Robbins, President 
 and CEO of 
  GenToo technologies. Learn everything from fundamentals to system 
  
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
  ___
  unattended-info mailing list [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/unattended-info
 
 
 
 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President 
 and CEO of GenToo technologies. Learn everything from 
 fundamentals to system 
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 ___
 unattended-info mailing list [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/unattended-info
 


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


RE: [Unattended] Problems installing XP

2004-03-26 Thread DE-LOS-SANTOS,ORIOL (HP-Spain,ex1)
The question is ... How can I do dat with the DOS boot image? I believe it
only supports FAT-16. Is this correct?

Thanks
Oriol de los Santos

 -Original Message-
 From: Marek Tyc [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 25, 2004 7:53 PM
 To: 'DE-LOS-SANTOS,ORIOL (HP-Spain,ex1)'; 'Unattended List'
 Subject: RE: [Unattended] Problems installing XP
 
 
 Resize the partition to minimal 4 gb. The Installation needs 
 some amount of space. 
 So just increase it.
 
 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens 
 DE-LOS-SANTOS,ORIOL (HP-Spain,ex1)
 Verzonden: donderdag 25 maart 2004 18:26
 Aan: Unattended List
 Onderwerp: [Unattended] Problems installing XP
 
 We have been successfully installing W2k. Today I tried 
 installing WXP and got an error telling me that the partition 
 where I was trying to install was too small ... I have the 
 2000MB initial partitioning that Unattended uses and don't 
 know how to change that. I understand the 2000MB limit was 
 due to the DOS boot.
 
 Any suggestions?
 
 Thanks
 Oriol de los Santos
 
 
 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President 
 and CEO of GenToo technologies. Learn everything from 
 fundamentals to system 
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 ___
 unattended-info mailing list [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/unattended-info
 


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info