Author Topic: Help with Layout.ini file Dissregard  (Read 3490 times)

0 Members and 1 Guest are viewing this topic.

Offline TedNelly

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1530
  • Trust No-One!
Help with Layout.ini file Dissregard
« on: May 03, 2005, 09:07:44 AM »
Hi all

I deleted my layout.ini file in C:\WINDOWS\Prefetch folder have search google for a solution,with little success

Must be looking in the wrong place.

If possible could one of this forums member please supply me with a copy of there Layout.ini file.

I think it can be modified for my computer.

Finally found the answer: Run-: %windir%\system32\Rundll32.exe advapi32.dll,ProcessIdleTasks

Must have Task Scheduler enabled for this to work

« Last Edit: May 03, 2005, 09:45:52 AM by P3t3rb0nn »
Windows 8.1-Pro  Intel I7 CPU 16 Gig 2133 RAM |Avast 2015.10.0.2280 |Firefox 34 B7 |Cyberfox 64bit/ Blur  | T-Bird 31.1.1 Beta2 | SpyWareBlaster 5.0 | MalwareBytes 2.0.3.1025 | WinPatrol

Online Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 65980
Re: Help with Layout.ini file Dissregard
« Reply #1 on: May 03, 2005, 10:34:43 PM »
What is stored into this file? Seems strange while opened in Notepad...  ::)
The best things in life are free.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 72281
  • No support PMs thanks
Re: Help with Layout.ini file Dissregard
« Reply #2 on: May 03, 2005, 11:07:07 PM »
If it was in the prefetch folder and you deleted it, I would have thought that wouldn't have had any effect except for taking longer to load?

A google search for layout.ini returns many hits - this is just one of them - http://www.microsoft.com/whdc/system/sysperf/benchmark.mspx

I haven't even got a prefetch folder but even if I did, I would have thought transferring this file would not relate to your settings.
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2015 10.3.2225 R3 SP1/ Outpost Firewall Pro9.1/ Firefox 39.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.1.8/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Online Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 65980
Re: Help with Layout.ini file Dissregard
« Reply #3 on: May 03, 2005, 11:30:53 PM »
If it was in the prefetch folder and you deleted it, I would have thought that wouldn't have had any effect except for taking longer to load?
This works for *.pf files.
But the layout.ini is the only different one there...  ??? ::)
The best things in life are free.

Offline TedNelly

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1530
  • Trust No-One!
Re: Help with Layout.ini file Dissregard
« Reply #4 on: May 04, 2005, 05:52:11 AM »
If it was in the prefetch folder and you deleted it, I would have thought that wouldn't have had any effect except for taking longer to load?

A google search for layout.ini returns many hits - this is just one of them - http://www.microsoft.com/whdc/system/sysperf/benchmark.mspx

I haven't even got a prefetch folder but even if I did, I would have thought transferring this file would not relate to your settings.

Thanks for the replies

I didn't realize I had deleted  the layout.ini file (C:\WINDOWS\Prefetch), just noticed that my boot time had increased markedly. I clean out prefetch regularly.

I tried running defrag -: giving me error message and would not run. Upon investigation I discovered that I had deleted layout.ini.

My googling told me that layout.ini could be rebuilt using Start/Run  %windir%\system32\Rundll32.exe advapi32.dll,ProcessIdleTasks

I tried this many times without success it wasn't until I came across the fact that Task Scheduler had to
be enable for this to work and bingo one rebuilt layout.ini file

Much much faster boot times and defrag ran without any problems.

Once again thanks all    this forum really blitzes


 
Windows 8.1-Pro  Intel I7 CPU 16 Gig 2133 RAM |Avast 2015.10.0.2280 |Firefox 34 B7 |Cyberfox 64bit/ Blur  | T-Bird 31.1.1 Beta2 | SpyWareBlaster 5.0 | MalwareBytes 2.0.3.1025 | WinPatrol

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 72281
  • No support PMs thanks
Re: Help with Layout.ini file Dissregard
« Reply #5 on: May 04, 2005, 01:29:00 PM »
Thanks for letting us know, it could possibly help others with the same problem.

That really is strange that in order for the command to work Task Scheduler has to be enabled, I can't see any reason why task scheduler would have anything to do with it. I have task scheduler disabled as well, got fed up with it continually trying to connect and synchronise my system clock.

I too haven't got a layout.ini file but haven't tripped up when trying to use windows defragment without it. It is however very rare that I use windows defrag, more for the analysis after using RejZors Power Defragmenter - RejZors - eXcessive-software.tk Site. I have seen occasion when the power defragmenter had done the job in about the same time it took windows defrag to analyse a drive.
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2015 10.3.2225 R3 SP1/ Outpost Firewall Pro9.1/ Firefox 39.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.1.8/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Offline MikeBCda

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2216
Re: Help with Layout.ini file Dissregard
« Reply #6 on: May 04, 2005, 08:13:00 PM »
That really is strange that in order for the command to work Task Scheduler has to be enabled, I can't see any reason why task scheduler would have anything to do with it. I have task scheduler disabled as well, got fed up with it continually trying to connect and synchronise my system clock.

I'm a little confused, David.  Doesn't scheduling a boot-time scan use Task Scheduler for setting up a one-time task?  Or is that handled somewhere else and therefore, like you, I can safely ditch the Task Scheduler?
Intel Atom D2700, 2 gig RAM, Win 7 x64 SP1 & IE-11, Firefox 39.0  (default). 320 gig HD, 15Mb DSL, Win firewall, Avast 2015.10.3.2223 free, SpywareBlaster, MBAM Prem.,Crypto-Prevent

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 72281
  • No support PMs thanks
Re: Help with Layout.ini file Dissregard
« Reply #7 on: May 04, 2005, 09:04:26 PM »
No, a change is made to one of the boot.ini files (which is why it will only work for NT based OS) that dictates what to do on the next boot.

I don't know what file is edited but Task Scheduler is not used as that requires windows to be running in order to work.
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2015 10.3.2225 R3 SP1/ Outpost Firewall Pro9.1/ Firefox 39.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.1.8/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Offline TedNelly

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1530
  • Trust No-One!
Re: Help with Layout.ini file Dissregard
« Reply #8 on: May 05, 2005, 09:27:37 AM »
Yes DavidR I to found it strange that Task Scheduler had to be enabled for the Start/run/ + Command added

to work I ran and ran the %windir%\system32\Rundll32.exe advapi32.dll,ProcessIdleTasks command and

couldn't work out why it would not rebuild the layout.ini file until I can across mention of the fact that TS had

to be enabled just goes to show you learn something new every day

I should look much closer have been using two of RejZors programs for quit a while now have used Power

Defragmenter for months now without realizing and FF AdBlock Extension since it was released Pretty clever

Cookie is RejZors

Fantastic  Tools

Da!Dh! Look closer   I see RejZor designs the interfaces still brilliant
« Last Edit: May 05, 2005, 09:36:41 AM by P3t3rb0nn »
Windows 8.1-Pro  Intel I7 CPU 16 Gig 2133 RAM |Avast 2015.10.0.2280 |Firefox 34 B7 |Cyberfox 64bit/ Blur  | T-Bird 31.1.1 Beta2 | SpyWareBlaster 5.0 | MalwareBytes 2.0.3.1025 | WinPatrol