Boot.ini file modification

I would like to make some changes on some desktops that have 4 GB to have 3 GB feature when they start by modifying the boot.ini  How can I do that to bunch of desktops I am paticularly looking for an SMS solution if possible.

Thanks,
LVL 4
Habib ZakariaNetwork Solutions ArchitectAsked:
Who is Participating?
 
matrixnzConnect With a Mentor Commented:
Answer 1)  To find Windows XP Systems with 4GB or higher you can use the following Query within a Collection.  Note I've used 4000000kb to represent 4GB although the real number is actually 4096000kb thing is memory is never exact so it can be a little less or more.

Answer 2) You can't, you must define a package, you just don't define a source for the package.  Than create a program with the switches etc.. for example see attached image.
Cheers
Select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System inner join SMS_G_System_X86_PC_MEMORY on SMS_G_System_X86_PC_MEMORY.ResourceID = SMS_R_System.ResourceId where SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 5.1" and SMS_G_System_X86_PC_MEMORY.TotalPhysicalMemory >= 4000000

Open in new window

BootCFG.png
0
 
matrixnzCommented:
Have a look at bootcfg.exe (found in C:\Windows\System32\) this is the most simplest method, usually the command would be something like
bootcfg /raw "/3gb" /a /id 2

Have a look at the following article for more examples http://support.microsoft.com/kb/303980

I use this in my imaging process after sysprep to change the timer from 30sec to 0sec, handy utility.

Cheers

0
 
Habib ZakariaNetwork Solutions ArchitectAuthor Commented:
Hi! Matrixnz,
Sorry I was away but I am back and I am will to get this done in 2 weeks if possible.
What will be the SMS command?
Thanks,
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
matrixnzCommented:
Well this is assuming it's on Windows XP Pro Systems but the command as I mentioned above would look something like
bootcfg.exe /raw "/3gb" /a /id 2

You will see that bootcfg.exe is found in %WinDir%\System32 so you shouldn't need to include any additional path information.

Cheers
0
 
Habib ZakariaNetwork Solutions ArchitectAuthor Commented:
Hi! Matrixnz,
I did not apply just a command on SMS, Can you please help me how to do this? All the Systems are WindowsXP.
I want to collect all the desktop with Windows XP PRO with 3 GB minimum.
I really appreciate your help.
Thank you.
 
 
0
 
Habib ZakariaNetwork Solutions ArchitectAuthor Commented:
Sorry, I was not thinking I will copy the bootcfg from C:\windows\system32 to the source folder and run the command.
I still need your help in making the collection.
Thanks
0
 
matrixnzCommented:
Hi Smartmanwin

Sorry for the delay, merging companies at the moment so been quite busy.

You don't actually need to copy the bootcfg to the Source Directory, don't specify a source directory at all, just put in the command.

As for the collection this can be quite difficult as ini files are not collected by default, what I suggest is just create a collection for all Windows XP Systems and have the advertisement run once for each machine.  That way it will install across all systems including any new ones that are added to the domain.  Even if the line has already been set than running the command again won't cause any issues either way, but I'd test it first.

Anyway I hope that made sense, if not feel free to get back in touch.

Cheers
0
 
Habib ZakariaNetwork Solutions ArchitectAuthor Commented:

1) can we make collection for windows XP systems with 3 or 4 GB RAM instead of the ini file?
2) On SMS when you make a new advertisement the window below requires me to  have a package, Program and collection , how can skip the package? if you have any example on how to just apply a command to the collection please let me know.

Thanks.

advertisement.jpg
0
 
Habib ZakariaNetwork Solutions ArchitectAuthor Commented:
Hi! Matrixnz,
Thank you again for the response
I want to right a techincal explanation to the management. Can you give me few points to specify strong enough to include in my report. If you can?
Thanks,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.