Please do post again about your network problem when the user account business has been cleared up.

I'm not absolutely sure what you are describing in your first post because of the terms you have used.
If, as I think you are saying, your computer had been set up to automatically log into a user account when it starts then you might have to undo that then re-do it.
Sign in User Account Automatically - TenForumsTutorials
The intro to that tutorial includes a link to another tutorial that you'd have to run through first if a checkbox did not appear in the NetPlWiz dialog.


Then, if you again hit a problem when you reach the stage of, "When I right click to share, a form comes up with the log on name", post once more and include
- a screenshot [or photo if unavoidable] of the dialogs you see both before and after the problem occurs
- an explanation of what happens so the screenshots cannot be misunderstood


I use this procedure when I want to set up sharing between computers.
A consolidated network setup checklist for Windows 10 and 11 - my post #4 - TenForums


Best of luck,
Denis