How to get rid of the console root node in snapin MMC 3.0?

I created snapins with the new MMC 3.0 and C # classes. It seems that I can not find examples of how to get rid of the "root of the console" node when creating * .msc files. I looked through the examples in the SDK, but I can not find anything for this.

I saw other snapins that do what I want, but I canโ€™t tell which version of MMC they use.

+3
source share
3 answers

If you understood correctly, this does not apply to MMC3, but it took me a while to understand. Right-click on the node and select New Window from Here. Then return to the Root console window and close it (Ctrl + F4).

.msc, it//View/BookMark/@NodeID, "2" ( ..) "1".

+7

, , , , , , , MSC. , SnapIn, " " , MSC. , SnapIn RootNode, . "" "...". , , . . (, C:\temp\MyCustomConsole.msc), /, SnapIn , .

+1

As far as I know, MMC always shows Console Root. Even if you open it without a snap, you will still see the Console Root. Snap ins are added only below it, and some can be loaded at the same time, and all of them will be under the console root, which is just the root of the tree.

0
source

Source: https://habr.com/ru/post/1697402/


All Articles