Maximize Windows using batch file during startup


  1. Posts : 25
    Windows 7 Ultimate x64
       #1

    Maximize Windows using batch file during startup


    Hi,
    I would like to write a batch file(or more simple set up) to open a Website (Using IE) during Windows Startup and after this website open, its windows will be maximize(or full screen) automatically.
    Anybody how to do this? Thanks!
      My Computer


  2. Posts : 287
    Windows 7 Ultimate x64
       #2

    Create a shortcut to your browser. In the Target field, add SPACE followed by URL enclosed in parentheses.

    Set shortcut property to open maximized. Place shortcut in Startup folder (or a more advanced startup location. If you don't know how, just use the Startup folder).
      My Computer


  3. Posts : 25
    Windows 7 Ultimate x64
    Thread Starter
       #3

    how to set the shortcut property for particular a website?
    I can set Shortcut property of IE, but while I open the shortcut of the website, it;s not maximized.
    Also, how can I open a shortcut in full screen(F11). I can change from regedit, but after the computer restart, it back to the regular screen.
      My Computer


  4. Posts : 287
    Windows 7 Ultimate x64
       #4

    beidog said:
    how to set the shortcut property for particular a website?
    In the Target field, add SPACE followed by URL enclosed in parentheses.
    beidog said:
    while I open the shortcut of the website, it;s not maximized.
    Set shortcut property to open maximized.
    beidog said:
    Also, how can I open a shortcut in full screen(F11).
    I don't know. Wait, I was schooled...
    Attached Thumbnails Attached Thumbnails Maximize Windows using batch file during startup-capture.png  
    Last edited by DeVandal; 24 Jan 2011 at 01:28. Reason: It was Kari's faut
      My Computer


  5. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #5

    You mean the so called kiosk mode (F11). That can be done with -k switch in shortcut target. For instance to open this page in kiosk mode in IE from a shortcut, just create a new shortcut and add this to Target:

    Shortcut to open this page in 32-bit IE (default), in kiosk mode on a 64-bit Windows 7:

    "%programfiles(x86)%\internet explorer\iexplore.exe" -k https://www.sevenforums.com/general-discussion/139966-maximize-windows-using-batch-file-during-startup.html

    Shortcut to open this page in 64-bit IE, in kiosk mode on a 64-bit Windows 7, OR to open this page in 32-bit IE, in kiosk mode on a 32-bit Windows 7:

    "%programfiles%\internet explorer\iexplore.exe" -k https://www.sevenforums.com/general-discussion/139966-maximize-windows-using-batch-file-during-startup.html

    To "decode" that line, there's first the path to IE, followed by the switch -k which opens IE in borderless kiosk mode, followed by the URL of the site you want to open.

    Maximize Windows using batch file during startup-shortcut_target.png

    Kari
    Last edited by Kari; 24 Jan 2011 at 01:53.
      My Computer


  6. Posts : 25
    Windows 7 Ultimate x64
    Thread Starter
       #6

    I can find these all in the IE shortcut, but not the website shortcut(No Maximize windows options and the "Target")
    Everything I changed on the IE Shortcut(the Maximize Windows and the -K options) doesn't affect anything on the website shortcut. Thus, I put the website shortcut on the startup, the webpage still pops up like the normal screen.
      My Computer


  7. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #7

    Let's try one more time. Follow these instructions exactly as written, doing every step as told and nothing else.

    This example creates a shortcut that opens Seven Forums in Internet Explorer borderless kiosk mode (same as if F11 is pressed), and saves the shortcut in Startup folder so it is automatically run every time Windows is launched:
    1. Click Start Orb
    2. If you want this shortcut to be launched only when logging in to the current user account, right click All Programs, select Open, continue then from step 4
      .
      Maximize Windows using batch file during startup-startmenu_programs_open.png
      .
    3. If you want this shortcut to be launched when logging in to any user account, right click All Programs, select Open All Users
      .
      Maximize Windows using batch file during startup-startmenu_programs_open_all_users.png
      .
    4. An explorer window opens, showing your personal Start Menu folder or the Start Menu folder for all users, depending on your choice above (step 2 or 3). Double click Programs, then double click Startup
    5. When in Startup folder, right click an empty spot on the right pane
    6. Select New > Shortcut
      .
      Maximize Windows using batch file during startup-shortcut_create_1.png
      .
    7. Type this under Type the location of the item exactly as written here:
      1. If you are using Windows x64:
        "%programfiles(x86)%\internet explorer\iexplore.exe" -k https://www.sevenforums.com
      2. If you are using Windows x86:
        "%programfiles%\internet explorer\iexplore.exe" -k https://www.sevenforums.com
    8. Click Next
      .
      Maximize Windows using batch file during startup-shortcut_create_2.png
      .
    9. Name the shortcut as you wish, click Finish
      .
      Maximize Windows using batch file during startup-shortcut_create_3.png
    That's it. Now you have a shortcut that opens IE in kiosk mode, showing Seven Forums front page every time when Windows is started. You can replace the Seven Forums URL used in this example with any web address you want to, to open any site.
    Maximize Windows using batch file during startup-shortcut_create_4.png
    Kari
    Last edited by Kari; 29 Jan 2011 at 06:37. Reason: Added option for All Users (step 3)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:41.
Find Us