Control Panel won't start minimized

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Control Panel won't start minimized

Postby ijmc » 18. February 2014 11:20

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
ijmc
 
Posts: 2
Joined: 18. February 2014 11:12
Operating System: Windows XP / Windows 7

Re: Control Panel won't start minimized

Postby Altrea » 18. February 2014 16:29

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Control Panel won't start minimized

Postby ijmc » 18. February 2014 17:23

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.
ijmc
 
Posts: 2
Joined: 18. February 2014 11:12
Operating System: Windows XP / Windows 7

Re: Control Panel won't start minimized

Postby Altrea » 18. February 2014 17:28

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Control Panel won't start minimized

Postby michibinder-isanhuso » 30. December 2023 23:53

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?
michibinder-isanhuso
 
Posts: 10
Joined: 30. December 2023 21:37
XAMPP version: winget upgrade ApacheFriends.X
Operating System: Windows

Re: Control Panel won't start minimized

Postby michibinder-isanhuso » 31. December 2023 23:44

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
michibinder-isanhuso
 
Posts: 10
Joined: 30. December 2023 21:37
XAMPP version: winget upgrade ApacheFriends.X
Operating System: Windows

Re: Control Panel won't start minimized

Postby michibinder-isanhuso » 01. January 2024 02:34

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()
michibinder-isanhuso
 
Posts: 10
Joined: 30. December 2023 21:37
XAMPP version: winget upgrade ApacheFriends.X
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 150 guests