You dont mention what version of WAMPServer you are using?
But if you have an exact copy on a laptop can I suggest this solution to your rebuild of the desktop.
If the laptop has WAMPServer installed on the same drive letter that you want to use on the Desktop, try this, if you want to move to a different drive letter
this will not work :-
Uninstall WAMPServer on the desktop.
Manually Delete Desktop\wamp folder to remove any files not removed by the uninstall
Copy Laptop:wamp folder to Desktop:wamp folder
Place C:\wamp\wampmanager.exe as a shortcut onto your desktop.
Launch Wampserver from this icon
Using the wampmanager menus do
wampmanager -> Apache -> Service -> Install Service
wampmanager -> MySQL -> Service -> Install Service
wampmanager -> Start all Services
You will then have an exact duplicate of your laptop WAPServer environment (working as you like it) on your desktop. Any differences in how it runs will then be down to something other than WAMPServer.
As to the use of Virtual Hosts, this is a strong suggestion, that we give specifically, but not exclusivly, to WordPress users. We do this because lots of beginners on WP have problems moving sites from the local testing environment to a live hosted server. But they are just suggestions and if you wish to ignore it, thats your preogative.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-