Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NtRenameKey support #205

Closed
gjf opened this issue Dec 2, 2020 · 10 comments
Closed

NtRenameKey support #205

gjf opened this issue Dec 2, 2020 · 10 comments
Labels
added in next build Added in the next Sandboxie version Confirmation pending Further confirmation is requested Feature request New feature or idea Known issue Old known Sandboxie issues Registry Windows Registry rename/delete Rename/delete operations

Comments

@gjf
Copy link

gjf commented Dec 2, 2020

Some strange situation occurs.

  1. Run regedit.exe in a sandbox. Doesn't matter as UAC admin or not.
  2. Try to create any sunkey in HKCU/SOFTWARE (but I believe it doesn't matter - in any place).
  3. You will get the error SBIE2205 Сервис не реализован: NtRenameKey
  4. The subkey is not created.

Sandboxie 5.44.1 x64 on Win 20H2

@DavidXanatos
Copy link
Member

sandboxie does not currently supprot renaming of registry keys

@gjf
Copy link
Author

gjf commented Dec 2, 2020

It's not renaming but creating.

@DavidXanatos
Copy link
Member

but it calls NtRenameKey for whatever reason and that call was never supported, its on my todo to add support for that at some point in time but its nit high priority.
there are practically no applications that would as part of normal operation rename registry keys, thats something done almost onyl by a user uing reg edit

@C-o-l-u-m-b-o
Copy link

C-o-l-u-m-b-o commented Nov 7, 2021

Actually I have an application that cashes at startup - caused by this not implemented service :( -
maybe this helps raising the priority a bit :)

@isaak654
Copy link
Collaborator

isaak654 commented Nov 7, 2021

Actually I have an application that cashes at startup

Which one?

@isaak654 isaak654 added the Known issue Old known Sandboxie issues label Jan 17, 2022
@isaak654 isaak654 reopened this Jan 17, 2022
@isaak654 isaak654 added the Feature request New feature or idea label Jan 17, 2022
@isaak654 isaak654 changed the title NtRenameKey NtRenameKey support Jan 17, 2022
@DavidXanatos DavidXanatos added rename/delete Rename/delete operations added in next build Added in the next Sandboxie version labels Jan 22, 2022
@DavidXanatos
Copy link
Member

This feature si ready and will be added in one of the upcoming builds, may be not the next as that might be only a minor release with some fixes only quickly followed by a large experimental release
this feature will need you to enable it with UseRegDeleteV2=y

@isaak654
Copy link
Collaborator

isaak654 commented Feb 5, 2022

I can't find any UseRegDeleteV2 in the source code, so I'm going to remove the "added in next build" status for now.

@isaak654 isaak654 added Confirmation pending Further confirmation is requested Registry Windows Registry and removed added in next build Added in the next Sandboxie version labels Feb 5, 2022
@DavidXanatos DavidXanatos added the added in next build Added in the next Sandboxie version label Feb 5, 2022
@DavidXanatos
Copy link
Member

Its compelte in my local repository and waiting to be pushed to github as 1.1.0 shortly after 1.0.10 was released

@DavidXanatos
Copy link
Member

have create a temporary branch for it: 1d29ff1

@droped
Copy link

droped commented May 24, 2022

The new option UseRegDeleteV2=y fails to start windows explorer with Sbie2306 and Sbie2304 error messages.

Apparently only if separate user folder is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added in next build Added in the next Sandboxie version Confirmation pending Further confirmation is requested Feature request New feature or idea Known issue Old known Sandboxie issues Registry Windows Registry rename/delete Rename/delete operations
Projects
None yet
Development

No branches or pull requests

5 participants