MSFN Forum: What are some useful RUNONCE commands (Optimize XP) - MSFN Forum

Jump to content


If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

What are some useful RUNONCE commands (Optimize XP) Rate Topic: -----

#1 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 19 December 2009 - 09:28 PM

As it says...

I can run dos commands yes?

Like ive added folders to the all users start up menu

md C:\Documents and Settings\All Users\Start Menu\Programs\Optimizers

This will work yes?

One thing id like to do is make a folder shorcut on the taskbar, to a security folder in program files.

What else could i do to make quick unattended performance boosts???

What examples do u do?


#2 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,049
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 19 December 2009 - 11:32 PM

>I can run dos commands yes?
yes

>Like ive added folders to the all users start up menu

>md C:\Documents and Settings\All Users\Start Menu\Programs\Optimizers

>This will work yes?

yes if you enclose the path in quotes. Better to use $OEM$ folders for All Users folder but either will work.

>One thing id like to do is make a folder shorcut on the taskbar, to a security folder in program files.
have it put the folder in %appdata%\Microsoft\Internet Explorer\Quick Launch


>What else could i do to make quick unattended performance boosts???
performance boosts? no such things exist

This post has been edited by -X-: 19 December 2009 - 11:35 PM


#3 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 20 December 2009 - 09:45 PM

Hi you may be right because my RUNONCE commands failed. No folders appeared.

Can u explain this $OEM$ folder briefly

New to it, but my beginner belief is its a folder where anything i put in it will show on the desktop??

By performance boosts i mean, internal optimization.

Theres plenty of tweaks i can do manually

Where could i run a batch file or how in run once (example command and location?)?

#4 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 20 December 2009 - 09:53 PM

Alternatively....

What would be the code to put a new folder on the desktop in runonce
>>

And

I have a folder of installers stating these must be installed after XP, that are located on the disk.

Its possible to put these (IE8,.NET, DivX) on the desktop ive heard ready and waiting the momont the user logs in....BUT HOW?

#5 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,049
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 December 2009 - 10:00 PM

>Can u explain this $OEM$ folder briefly
http://unattended.ms...xp/view/web/18/

>Where could i run a batch file or how in run once (example command and location?)?
I create a folder $OEM$\$1\Temp that contains a setup.bat then I just add %SYSTEMDRIVE%\Temp\Setup.bat to GuiRunOnce.

#6 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,049
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 December 2009 - 11:31 PM

View Postbenbenno, on Dec 20 2009, 10:53 PM, said:

Alternatively....

What would be the code to put a new folder on the desktop in runonce
>>

And

I have a folder of installers stating these must be installed after XP, that are located on the disk.

Its possible to put these (IE8,.NET, DivX) on the desktop ive heard ready and waiting the momont the user logs in....BUT HOW?


I still recommend add-ons but if you insist on running the setup programs from the desktop after installation just place them in $OEM$\$Docs\All Users\Desktop

#7 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 22 December 2009 - 01:35 AM

hi guys great replies

the $OEM$ explaination is perfect thanks

i feel uncertain with addons because u dont know what ur getting, and there chance of failure BSOD

hey where is this GuiRunOnce section?

and why is it different

#8 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,049
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 December 2009 - 02:42 AM

In nLite guirunonce is called runonce in unattended settings. Consider them the same in this instance.

#9 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 22 December 2009 - 04:52 AM

arr thanks mate

im thinking maybe i could do a silent install of IE8 using runonce like...

start $OEM$\install\internetexplorer8.exe /VERYSILENT

this line is incorrect yes?

is there an easier way to install IE8

is there a quick way to install divX

is there a quick way to install .NET (or do u have the location of a proven cab file)

#10 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,049
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 December 2009 - 05:49 AM

$OEM$\install\internetexplorer8.exe should be $OEM$\$1\install\internetexplorer8.exe. Don't know about the switch as I don't use it. Run the installer with a /? argument to see available switches.

An easier way I already explained in your other thread - use or make your own addon with that tool. You can include updates this way and wont have an out of date system when Windows setup completes.

For Divx search for an addon at those links I gave you or figure out what command line it accepts and do the same as you are trying to do with IE.

For .NET 2.0 with updates KB974417 & KB958481 already included, here's a proven cab file I made and have used on my current install.

#11 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 26 December 2009 - 06:57 PM

Thanks X

That should solve .NET 2.0 (which is 1.1 really yeah?)

So with this do i still need to install .NET 1.0 original version?

#12 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,049
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 27 December 2009 - 01:47 AM

No, 2 is not 1.1

You install what you want. There's no need to install frameworks that non of your programs require. The only one I need is 2.0.

I see on other threads that it seems you've gone a different route and found an all-in-one addon. If that's the case, don't also use the one I uploaded. Use one or the other but not both.

#13 User is offline   benbenno 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-December 09

Posted 27 December 2009 - 06:03 AM

Thanks again X. Yeah found a .NET addon. Worked well

Its odd cos id figure u would need version 1 & 1.1 before version 2, but this addon goes from 2.0 to 3.5

I dont see many 1.0 addons around or 1.1

Such a relief though to conquer it. Cheers for help along the way.

On this post topic here are some useful runonce commands...
md "C:\Documents and Settings\All Users\Start Menu\Programs\Security"
md "C:\Documents and Settings\All Users\Start Menu\Programs\Optimizers"
md "C:\Documents and Settings\All Users\Start Menu\Programs\Hardware"
md "C:\Program Files\Utilities"
md "C:\Program Files\Security"
md "C:\Documents and Settings\All Users\Start Menu\Programs\DVD Software"
md "C:\Documents and Settings\All Users\Start Menu\Programs\Internet Browsers"
md "C:\Documents and Settings\All Users\Start Menu\Programs\Utilities"
md "C:\Documents and Settings\All Users\Start Menu\Programs\Media Players"
del /Q /F "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch\*.*"
del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Program Compatibility Wizard.lnk"
del "%ALLUSERSPROFILE%\Start Menu\Programs\MSN Messenger 6.2.lnk"
del "%USERSPROFILE%\Start Menu\Programs\Remote Assistance.lnk"
del "%ALLUSERSPROFILE%\Start Menu\New Office Document.lnk"

most of them work. Id prefer to have them in a batch file but dunno how to add the batch in (beginner)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy