Link to home
Avatar of exchangbob
exchangbobFlag for United States of America

asked on

How can I make all windows/shortcuts open maximized by default in windows 7?

How can I make all windows & shortcuts open maximized by default in windows 7?
Already tried a few answers in EE Knowledge Base, no help?  This seems to be an insurmountable problem?
Avatar of Kent Dyer
Kent Dyer
Flag of United States of America image

I think you will need to tweak/update your shortcuts using the following vbs:

set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut Script.lnk")
oShellLink.TargetPath = "notepad.exe"
oShellLink.WindowStyle = 0
' -- 1 is normal window
' -- 2 is normal window
' -- 3 is maximized
'oShellLink.Hotkey = "CTRL+SHIFT+F"
oShellLink.IconLocation = "notepad.exe, 0"
oShellLink.Description = "Shortcut Script"
oShellLink.WorkingDirectory = strDesktop
oShellLink.Save 

Open in new window


HTH,

Kent
Avatar of exchangbob

ASKER

This sounds like exactly what I need to fix this.  Could you please elaborate/be more  specific on(how to) with  the vbs. ?and tweeking/updating  my shortcuts?
This sounds like exactly what I need to fix this.  Could you please elaborate/be more  specific on(how to) with  the vbs. ?and tweeking/updating  my shortcuts?
there doesn't appear to be a fix for this problem since I have no idea how to complete the instructions in 08/07/11 07:14 PM, ID: 36326426? and have received no other replies.?
Well it maybe just a simple thing, I have windows 7 and opened my documents shortcut on my desktop, the folder was not at full screen so clicked on the square and made it full screen, closed it then opened the shortcut again to my documents and windows remembered my new setting and the folder was at full screen. tried the other shortcuts  local network my computer same thing
all at full screen.
That's what I expected to happen with my windows 7.  I have tried this method several times, but was unable to get the same result as you.
Normally, if you drag the window to the size you want, and hit CTRL+X to close, it is a FORCED remember.....

Libraries from what I understand follow their own rules though.

There's allot of discussions on this on the web.

Known about this reg mod, but never tried it....

http://brianary.blogspot.com/2009/07/best-registry-hack-ever-maximizeapps.html
ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Thanks.  I will look into this and let you all know.  I would love to finally have this problem solved.  It's been like a bad dream.  By the way, I tried CTRL+X to close , but it didn't help.
I FOUND THIS POST ON THE SITE:
http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/5b524d53-df97-405d-835f-f081d106a19b/
THAT JOHNB6767 GAVE ME. UNTIL MICROSOFT COMES UP WITH A FIX FOR THIS BUG, IT WILL BE OKAY WITH ME. IT MAXIMIZES TO WITHIN A 32ND OF AN INCH? BUT WHO' COUNTING?
gee, maybe microsoft will provide a permanent fix to this problem in windows 8,9 or 10?????????




Wednesday, November 04, 2009 8:07 AM
MJS1A  I think that I figured it out. When resizing the window DO NOT let the border touch the taskbar. Then close it with the X and open it again. Works for IE and Win Explorer.