always open in maximized window

each time i start IE or windows explorer it isn't in maximized mode as i expect. What to do now?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

war1Connect With a Mentor Commented:
Greetings, binocular222 !

Click on a link to open a second browser window. Drag the corners of the new window to full screen. Do not hit the maximum icon. Close the first browser first, second browser second.
Modify the registry key HKCU\Software\Microsoft\Internet Explorer\Main\FullScreen REG_SZ to "yes".

Best wishes!
binocular222Author Commented:
what about others apps?

Other applications do not have a way of opening in maximize window.
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Take an example of notepad.exe, and say you want it to open maximised.
Create a new shortcut and type the following as your command:

start /max c:\windows\notepad.exe

The C:\Windows\Command\START.EXE program in Windows 9x DOS can use any of the following switches to control the way program windows open or how commands are run:

C:\WINDOWS>start /?
Runs a Windows program or an MS-DOS program.

START [options] program [arg...]
START [options] document.ext

/m[inimized] Run the new program minimized (in the background).
/max[imized] Run the new program maximized (in the foreground).
/r[estored]  Run the new program restored (in the foreground). [default]
/w[ait]      Does not return until the other program exits.

Additional switches in Windows XP allow you to specify priorities, whether it opens as a new instance, etc, etc.  Open a CMD window and type :
START /? > "%USERPROFILE%\Desktop\Start_Syntax.txt"
to get the command line syntax to a file on your desktop as reference.

START is commonly used with the /wait switch to precede commands in a batch file run within Windows where you want to halt the process until the action is finished.  Windows has a bad habit of just running right on into the next command without waiting.  Try these two *.CMD files and you'll see the differences:

@echo off
start /max notepad "%USERPROFILE%\Desktop\Start_Syntax.txt"
start calc

Notepad and Calculator open simultaneously.  You obviously can't maximise calculator, but you could use the /min to open it minimised on the taskbar.

Change it to this:

@echo off
start /max /wait notepad "%USERPROFILE%\Desktop\Start_Syntax.txt"
start calc

and the batch file waits for notepad to be closed before running the command to open calculator.

Anyway, that's just extra info.  How you may choose to use this clunky method is up to you.
Place a batch file like this on the desktop and drag and drop a *.txt file onto it:

@echo off
notepad /max %0

and it will open the file maximised.

I'm quite sure that it doesn't work if you prefix the command line in the registry for a particular file type under the shell\verb\command key with start /max, but you might be able to add a new "Open as Max" Right-Click option to various file types and run them through a batch file using variables.

Maybe even create a shortcut in your "Send To" menu to do this.  Actually, a CMD file in the Send To folder works quite well, but would need a different batch file for each specified program.

Experiment a bit ;-)
Windows Explorer command line options?

explorer [/e] [/n] [,/root,<object>] [,/select,<subobject>]

None = Opens Explorer rooted at the Desktop
/e   = Show both the Folder and Contents panes (Explorer View)
/n   = Always open a new Explorer window
/root,<object> Starts Explorer with object the top item
(normally set to %HOMEDRIVE%\%HOMEPATH% in Windows XP and probably Desktop in Win9x).
eg: "explorer /e,/root,c:\"  Starts Explorer with the C drive as the ONLY drive available.
/select = Open the object's parent folder select the object itself
<sub object> Specifies the folder to be opened, or if /select was specified, the object to be selected

To open a new Explorer window with the specified folder selected:
explorer.exe /n,/e,"C:\Documents and Settings"

The " " around the path is a requirement if the path contains spaces.
The C:\windows\ and .exe are not normally required.  "explorer" works.
The actual switches may be spaced out like "..\explorer.exe  /n,  /e,  "C:\..\.." if you prefer.

explorer.exe /n,/e,/root,"C:\Documents and Settings"

For all of these, you can force explorer to open maximised, even though it has saved the settings from the last time as a half-screen window, by sticking a /max after explorer.exe.

Wordpad responds to the /max switch, but only through the start /max prefix.
start /max wordpad
Internet Explorer Command Line Switches
If using " " around path, use this syntax:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -k

Launches the browser window in a new browsing process.
Starts a remote instance of Internet Explorer on UNIX platforms only.
Starts the browser in Kiosk or full-screen mode.
Starts Internet Explorer without its home page.
Starts the Web browser control (no home page is displayed).
Displays the channels folder (as a Desktop Toolbar).
Displays Channels Directory of the currently logged on user.
This option only applies when Active Desktop is off.
Launch IE in Explorer mode
(standard two pane view, My Computer on left, Content on right).
Starts Internet Explorer Help on UNIX platforms only.
-v or -version
Can be used to specify the version on UNIX platforms only.
Launch IE and connect to default home page.
Loads the default home page from the cache.

Options may also be followed by the path to a local file:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -k "C:\Windows\Desktop\Win98_Updates.html"

Or to a specific web address:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -new

When accessing a local file, it does NOT require the url file:// protocol as IE knows how to handle this.

Other file types that are able to load in IE may also be specified:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -e "C:\Windows\Desktop\Puerto_Pollensa.jpg"

start /max iexplore -new

The easiest way to ensure that the screen opens in a maximized window is to

1) Right click on the shortcut for that program
2) Click Properties
3) The second field from the bottom (above Comment) says Run:
4) From the dropdown box, click Maximized
5) Click OK

From then on, when that shortcut is accessed, your window will open as maximized.

Hope this helps!
Sounds a lot more sensible than messing with batch files or the registry :-)
Do this:

Close all windows on desktop.

Open Explorer.
It will open in normal mode(as you have already told).
Maximize it clicking the middle button.
Then after window is maximized close it.
Open it again, it will open in maximized mode.

Do same for all other programs.
binocular222Author Commented:
It seems to be complicate

PS: dear prashsax, if it's easy like that i didn't ask U.

It really is as easy as I've stated.  Just follow the directions I gave you.
I believe that your response to prashsax means that you have already tried his suggestion, but that the Windows always open again as they had been before ie. NOT maximised.  Windows sometimes doesn't remember settings, and that can be a problem.

There are some settings to look at to try and force Windows to remember settings, but before getting into that, just try jakestaby's suggestion and let us know what happens:

1) Right click on the shortcut for that program
2) Click Properties
3) The second field from the bottom (above Comment) says Run:
4) From the dropdown box, click Maximized
5) Click OK
binocular222Author Commented:
that only works with windows explorer but not with IE(when i click on a link and open in new window) and Service
...hence the reason for war1's explanation about manually stretching the SECOND Internet Explorer window, which would be the one opened from the link in the first window.
I suggest accepting war1's comment (the first comment made) as the answer on behalf of binocular222.
The question was:
Title: always open in maximized window
Q: each time i start IE or windows explorer it isn't in maximized mode as i expect. What to do now?

war1 suggested the known resolution to this very common occurrence with IE, and I have no doubt that it would have worked if binocular222 had followed those instructions instead of then asking an entirely separate question about controlling the behaviour of other application windows.

In fact, binocular confirmed that the suggestions offered about how to ensure that WINDOWS Explorer opened maximized worked, BUT that he now seemed only to be interested in opening IE's "new windows" maximized
"that only works with windows explorer but not with IE(when i click on a link and open in new window) and Service"
which was the very thing war1 had explained at the outset.

That's my suggestion anyway, although I DO acknowledge that:
jakestaby suggested a good method for Windows Explorer using a shortcut
prashsax suggested the standard maximize methods for Windows Explorer that binocular222 had obviously tried
BillDL gave examples of how to control the opening of Windows Explorer and IE windows.

Perhaps the others would like the points to be split and will make that suggestion.  war1??
Thanks rindi and DarthMod !
All Courses

From novice to tech pro — start learning today.