Tweaking.com Support Forums

Main Forum => General Computer Support => Topic started by: garegin on May 17, 2022, 09:28:34 PM

Title: can't do "ranas testadmin cmd" 112: There is not enough space on the disk
Post by: garegin on May 17, 2022, 09:28:34 PM
I think Windows is confusing the volumes or whatnot. I can't create new users and running

`runas  /user:uslap200\testadmin powershell`

caused the following error

`RUNAS ERROR: Unable to run - powershell`

`112: There is not enough space on the disk.`

running with `/noprofile` works

In procmon I  see accesses to the ESP volume. I don't understand why Windows is trying to access that during runas

`5:56:03.7124886 PM   lsass.exe   904   CreateFile   \Device\HarddiskVolume1\EFI\Microsoft\Boot\Policies\UnlockToken.pol   PATH NOT FOUND   Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a`

Why is it trying to find this `UnlockToken.pol.` Googling links it with SCCM, but we don't use SCCM here.

I'm linking the procmon log here.

[https://drive.google.com/file/d/1qnuFY5j9xqg7PsNBTGqzP5qR4bMM4Bj1/view?usp=sharing](https://drive.google.com/file/d/1qnuFY5j9xqg7PsNBTGqzP5qR4bMM4Bj1/view?usp=sharing)
Title: Re: can't do "ranas testadmin cmd" 112: There is not enough space on the disk
Post by: Boggin on May 18, 2022, 12:58:25 AM
When you get the there isn't enough free space, it usually refers to the Temp folder being over populated.

Go Start - type %temp% and press enter.

Press CTRL and a together to highlight then CTRL and d together to delete then follow the prompts and try to do what you were trying to do.

Don't forget to empty your recycle bin.
Title: Re: can't do "ranas testadmin cmd" 112: There is not enough space on the disk
Post by: garegin on May 18, 2022, 06:27:17 AM
%temp% is per user account, right. Are there other temp folders? I cleared it, still the same error
I'm thinking that the runas error would somehow show up in procmon, no?
Title: Re: can't do "ranas testadmin cmd" 112: There is not enough space on the disk
Post by: garegin on May 18, 2022, 07:19:37 AM
I ran "ranas" multiple times and it seems to trigger "\Device\HarddiskVolume1\EFI\Microsoft\Boot\Policies\UnlockToken.pol " every run. Why you think that is?

also when running gpupdate /force it thinks I had an MDM. Even though the laptop was removed from MDM

Code: [Select]
Windows failed to apply the MDM Policy settings. MDM Policy settings might have its own log file. Please click on the "More information" link.
User Policy update has completed successfully.

For more detailed information, review the event log or run GPRESULT /H GPReport.html from the command line to access information about Group Policy results.
Title: Re: can't do "ranas testadmin cmd" 112: There is not enough space on the disk
Post by: Boggin on May 19, 2022, 02:10:48 AM
I've found this article which may help with that error -

https://www.diskpart.com/articles/efi-microsoft-boot-bcd-error-5740i.html

You can create a system repair disk to boot up with by following the instructions in this article -

https://recoverit.wondershare.com/partition-tips/create-windows-10-system-repair-disk-or-boot-drive.html