Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Deletes a value from a registry key.

Component Version macOS Windows Linux Server iOS SDK
Registry 7.2 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "Registry.DeleteValue"; Path; Name )   More


Parameter Description Example
Path The path to the parent registry key.
Separated by \ you specify the path to the key you want.
Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names.
Name The name of the value to delete. "Hello"


Returns OK or error.


Deletes a value from a registry key.


Delete a value:

MBS( "Registry.DeleteValue"; "CurrentUser\Test"; "Hello" )

See also

Blog Entries

This function checks for a license.

Created 20th March 2017, last changed 20th March 2017

Registry.DeleteTree - Registry.FlushKey

💬 Ask a question or report a problem