On the command line, type net user and press Enter. You’ll see all of the system’s user accounts now. Then type net user accname /del and hit Enter. For example: To remove a username called computer on the command line, use net user computer /del.
Open the Control Panel in a Large icons view to access it. Click on User Accounts and then Sign in to your account. Select your account and then click Change password, or else click Delete Account after selecting an option other than Remove all accounts (which is not recommended). Your administrator’s password will be instantly removed when you do so.
Type “man reboot” on your Mac and then hold down the “apple” key and the “s” key at the same time. Wait for Terminal to appear. After it appears, release the keys. Type “/sbin/mount -uaw” without any quotation marks, then press Enter. Remove /var/db/.applesetupdone by entering this command:
Press Win-r . In the dialog box, type compmgmt. msc , and then press Enter . Select the Users folder in the Local Users and Groups window. Select the Administrator account from right-click menu. To finish the operation, follow the on-screen directions.
Select Administrators from the menu in the Microsoft Application Virtualization (App-V) Management Console. Remove the account by right-clicking it and choosing Remove.