Additional SQL Server features and topics not covered by specific categories
Which account were you signed in as when you installed SQL Server? That one most likely already has sysadmin.
Log in with it and run:
ALTER SERVER ROLE sysadmin ADD MEMBER [COMPUTERNAME\YourUser];
(Get your name with SELECT SUSER_NAME();.)
If no account has sysadmin, use single-user mode: stop the SQL Server service, restart it with -m, connect via sqlcmd as your Windows admin, run the same command, then remove -m and restart. Microsoft documents this fully.
Error 262 is a SQL Server permission