Page 1 of 1

Control Panel won't start minimized

PostPosted: 18. February 2014 11:20
by ijmc
Hello,

I'm using XAMPP 1.8.3-2 installed on our NAS box. The XAMPP Control Panel is accessed from several of the computers on our network, one with Windows XP (about to be upgraded to 7), the others with Windows 7; on most of them the control panel is set to start up with Windows. It has Apache and MySQL set to start automatically.

I have ticked the box that says "Start Control Panel Minimized", but whenever I start up my computer there is the Control Panel. It works, it starts Apache and MySQL and everything is fine, but I have to click X to get it to sit in the Notification Area instad of being visible.

Have I misunderstood what Minimized means? Or is it somehow not sticking? Whenever I open the Control Panel it has a tick with the Minimized option, so it is set to start minimized but it doesn't.

I've tried to Google the problem and also searched this forum but couldn't find anything similar. Can anyone tell me what I'm doing wrong?

Thanks,
Ilke

Re: Control Panel won't start minimized

PostPosted: 18. February 2014 16:29
by Altrea
Hi,

Minimized means it will get started in the background with an icon in the task bar.
This is running very well for me on my Windows 7 Ultimate x64 test machine.
But i don't have installed XAMPP on a NAS.

best wishes,
Altrea

Re: Control Panel won't start minimized

PostPosted: 18. February 2014 17:23
by ijmc
Thanks for your reply, Altrea - yes I thought it should start in the background. If anyone has any idea why it starts opened up with me that would be great - from what you say it may be that it is run from the NAS box.

Re: Control Panel won't start minimized

PostPosted: 18. February 2014 17:28
by Altrea
No.

I can just analyse and compare the information you gave us with informations i have from my own installation. NAS is one difference i can see.
You don't gave is much information so it is very common a different issue. Maybe the configuration change is not saved properly, or something else.
But without any detailed information that is impossible to say.

Re: Control Panel won't start minimized

PostPosted: 30. December 2023 23:53
by michibinder-isanhuso
Altrea wrote:Hi,

Minimized means it will get started in the background with an icon in the task bar.
This is running very well for me on my Windows 7 Ultimate x64 test machine.
But i don't have installed XAMPP on a NAS.

best wishes,
Altrea

Does it also work on Windows 10 x64?

Re: Control Panel won't start minimized

PostPosted: 31. December 2023 23:44
by michibinder-isanhuso
i wish someone could help. i have to "close" the control panel, then it minimizes to systray. otherwise it's open and/or openable from taskbar. [X] Start Control Panel minimized.

Update1: alright according to
https://superuser.com/questions/859043/need-batch-file-to-close-a-window-not-the-batch-window
https://stackoverflow.com/a/77740579/15461964

one way is a batch file with
Code: Select all
cd /d "C:\xampp\"
Start "" /b xampp-control.exe
timeout /T 9 /nobreak >nul
powershell (ps xampp-control).CloseMainWindow()


and it works with xampp-control.exe, if not executed with admin rights under properties => compatibility => "execute program as admin",
otherwise the CMD has to be executed as admin.
https://community.apachefriends.org/f/viewtopic.php?f=16&t=79506#p281008
sadly opening xampp-control.exe as admin lowers stress since you have all permissions like creating xampp-control.ini

Re: Control Panel won't start minimized

PostPosted: 01. January 2024 02:34
by michibinder-isanhuso
michibinder-isanhuso wrote:i wish someone could help. i have to "close" the control panel, then it minimizes to systray. otherwise it's open and/or openable from taskbar. [X] Start Control Panel minimized.

Update1: alright according to
https://superuser.com/questions/859043/need-batch-file-to-close-a-window-not-the-batch-window
https://stackoverflow.com/a/77740579/15461964

one way is a batch file with
Code: Select all
cd /d "C:\xampp\"
Start "" /b xampp-control.exe
timeout /T 9 /nobreak >nul
powershell (ps xampp-control).CloseMainWindow()


and it works with xampp-control.exe, if not executed with admin rights under properties => compatibility => "execute program as admin",
otherwise the CMD has to be executed as admin.
https://community.apachefriends.org/f/viewtopic.php?f=16&t=79506#p281008
sadly opening xampp-control.exe as admin lowers stress since you have all permissions like creating xampp-control.ini


better lower the 9 to 2
Code: Select all
cd /d "C:\xampp\"
Start "" /b xampp-control.exe
timeout /T 2 /nobreak >nul
powershell (ps xampp-control).CloseMainWindow()


even 1 is ok

Code: Select all
cd /d "C:\xampp\"
Start "" /b xampp-control.exe
timeout /T 1 /nobreak >nul
powershell (ps xampp-control).CloseMainWindow()