Santiago Solari got off to the perfect start as Real Madrid's interim coach when his side thrashed Melilla 4-0 in the Copa del Rey on Wednesday.
Holders Barcelona scraped a 1-0 win at third-tier Cultural Leonesa thanks to Clement Lenglet's late header, while Girona earned a 2-2 draw at Alaves.
Getafe won 2-1 at Cordoba and Valladolid earned a 2-1 away win over Mallorca in other round of 32, first-leg clashes.
In Madrid's first match since Julen Lopetegui was sacked after a dire run capped by a 5-1 loss to Barcelona on Sunday which left the European champions ninth in La Liga, Solari's side flexed their muscles against Melilla.
Santiago Solari, head coach of Real Madrid B cares a player during the match between Racing Santander vs Real Madrid Castilla CF at the Estadio El Sardinero in Santander, Spain, August 17, 2018. /VCG Photo
Solari saved the likes of Gareth Bale, Luka Modric and Toni Kroos the trip to the north coast of Africa and the Spanish enclave of Melilla, but did start with captain Sergio Ramos and striker Karim Benzema against the third division minnows.
Frenchman Benzema, who has struggled for form this season, broke the deadlock from close range after being teed up by Alvaro Odriozola, with Vinicius Junior setting up Marco Asensio for the second.
Brazilian striker Vinicius, largely ignored by Lopetegui, struck the crossbar in search of the third, which was eventually bundled in by Odriozola, another player who struggled to get minutes under Lopetegui.
Vinicius Junior of Real Madrid CF reacts during the La Liga match between Deportivo Alaves and Real Madrid CF at Estadio de Mendizorroza in Vitoria-Gasteiz, Spain, October 6, 2018. /VCG Photo
Substitute Cristo Gonzalez added a fourth in stoppage time to give Solari a convincing debut win.
"The team played with smiles on their faces, they were keen and committed. The final score is a result of that," Solari told reporters.
"It wasn't easy, but we worked hard and played with those characteristics. The pitch was heavy and they pressed very high.
"We have to be happy. The players are committed to the shirt and to the fans who are with them. I'm now a part of this group."
David Beckham (L) and Santiago Solari (R) of Real Madrid attend a Japanese girls five-a-side futsal event in Tokyo, Japan, July 30, 2004. /VCG Photo
Record 30-time cup winners Barcelona were on the back foot against Cultural Leonesa, with goalkeeper Jasper Cillessen making some smart saves to keep Ernesto Valverde's heavily rotated side level.
Lenglet headed Ousmane Dembele's free kick home at the near post in stoppage time to earn the Catalans a narrow advantage heading into the second leg, with matches taking place between December 4-6.