Sometime back, I disabled Cortana completely and did some tweaks to stop telemetry under my Windows 10 laptop, but I can't really remember what I exactly did. Now I need to temporarily lend the laptop to someone without losing everything, but the person would like to have Cortana. Is there a way to undo everything I've done and get back Cortana? I've already tried the registry method to no avail.
EDIT: As far as I remember, I did not delete anything or make any serious changes in the Windows filesystem.
EDIT 2: I still have Windows search working; just no Cortana. Listing all packages in powershell says I still have Cortana installed
Microsoft.Windows.Cortana Microsoft.Windows.Cortana_1.8.12.15063_neutral_neutral_cw5n1h2txyewy