Routing compartments and Windows 7

by Mitch Tulloch [Published on 14 March 2012 / Last Updated on 7 July 2011]

Explains some relics of routing compartments in Windows 7.

In an old article by me here on, I mentioned a networking feature called routing compartments that was supposed to be introduced in Windows Vista.

Unfortunately that feature got cut before RTM.

Funny thing is, on Windows 7 there are some commands that have to do with routing compartments.  Examples of such commands include:

Ipconfig /allcompartments

Netsh interface ipv4 show compartments

Netsh interface ipv4 set compartment…

The first two commands produce what looks like valid output.  The third command returns the error "Incorrect function".  What's up?

Unfortunately the /allcompartments switch of Ipconfig and the set/show compartments commands of Netsh are just relics of the earlier plans of supporting routing compartments in Windows Vista.  So while some of these commands produce what looks like valid output, it doesn't mean anything useful.

Bottom line: routing compartments were NOT re-introduced in Windows 7!

I wonder though how many other relics there are in Windows of features that were planned but got cut just before RTM? Hmm…

Mitch Tulloch is a seven-time recipient of the Microsoft Most Valuable Professional (MVP) award and widely recognized expert on Windows administration, deployment and virtualization. For more tips by Mitch you can follow him on Twitter or friend him on Facebook.


The Author — Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see .

Latest Contributions

Featured Links