K
Kenneth Jensen
I have to run a script (batch file) on our corporate
laptops, that mount either a network share or a local
volume as the E:-drive, according to which hardware profile
the machine was booted in.
I know how to do the mounting, but how do I find out which
hardware profile is the active one?
Is there a key in the registry that tells me either the
GUID or the symbolic name of the profile, or is there any
thing else that indicates this, ie. environment variables
or anything else?
Any help is greatly appreciated.
TIA
Kenneth
laptops, that mount either a network share or a local
volume as the E:-drive, according to which hardware profile
the machine was booted in.
I know how to do the mounting, but how do I find out which
hardware profile is the active one?
Is there a key in the registry that tells me either the
GUID or the symbolic name of the profile, or is there any
thing else that indicates this, ie. environment variables
or anything else?
Any help is greatly appreciated.
TIA
Kenneth