Discussion:
Question about NtfsDisable8dot3NameCreation and Volumes
(too old to reply)
Nicholi
2010-04-03 01:17:13 UTC
Permalink
According to the TechNet article setting NtfsDisable8dot3NameCreation
to 2 (the default value on Win7) enables per volume creation of the
short 8dot3 filenames. But, how does one query if a particular volume
is enabled or disabled at this point? Using fsutil seems to only show
the value of NtfsDisable8dot3NameCreation, but no way to independently
query a volume to see if it is on or off. Is there some place to view
the volume's details in order to find if 8dot3 short filename creation
has been disabled or not? There doesn't seem to be much information on
this, just the NtfsDisable8dot3NameCreation setting itself.

Thanks.

TechNet article: http://technet.microsoft.com/en-us/library/cc778996%28WS.10%29.aspx
Nicholi
2010-04-08 22:14:21 UTC
Permalink
Well don't I feel stupid. The fustil documentation wasn't that clear,
but I see there are two ways to query a volume now.

fsutil 8dot3name query volume
fsutil behavior disable8dot3 volume

Which helps me a little, though my true aim is some API call (or even
using COM) to query a particular volume's setting. For an installer
which uses a rather old Microsoft interface (Video for Windows, VfW),
and will only install correctly if shortname generation is enabled.
I'm sure I could somehow add in an ugly call to fsutil and then parse
the output... but looking for something a little less cumbersome.
Searching the MSDN though just keeps pulling back to the page
identifying the registry value, or fsutil docs.
Dave Patrick
2010-04-13 00:19:46 UTC
Permalink
You might ask them here.

http://social.technet.microsoft.com/Forums/en-US/winserverfiles/threads
--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
Post by Nicholi
Well don't I feel stupid. The fustil documentation wasn't that clear,
but I see there are two ways to query a volume now.
fsutil 8dot3name query volume
fsutil behavior disable8dot3 volume
Which helps me a little, though my true aim is some API call (or even
using COM) to query a particular volume's setting. For an installer
which uses a rather old Microsoft interface (Video for Windows, VfW),
and will only install correctly if shortname generation is enabled.
I'm sure I could somehow add in an ugly call to fsutil and then parse
the output... but looking for something a little less cumbersome.
Searching the MSDN though just keeps pulling back to the page
identifying the registry value, or fsutil docs.
Nicholi
2010-04-13 21:29:13 UTC
Permalink
Post by Dave Patrick
You might ask them here.
http://social.technet.microsoft.com/Forums/en-US/winserverfiles/threads
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]http://www.microsoft.com/protect
Thanks, I'll try there. Though that is the Server forums a solution
for Win2k8R2 should hopefully be the same as one for Win7.
Jonathan de Boyne Pollard
2010-04-14 08:54:19 UTC
Permalink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<blockquote
cite="mid:e40d1a67-8135-4c92-8c4d-***@q23g2000yqd.googlegroups.com"
type="cite">
<p wrap="">I'm sure I could somehow add in an ugly call to fsutil and
then parse the output... <br>
</p>
</blockquote>
<p>... or you could find out whatever system call <code>fsutil</code>
is making and use it directly.</p>
</body>
</html>
Nicholi
2010-04-15 18:54:02 UTC
Permalink
On Apr 14, 1:54 am, Jonathan de Boyne Pollard <J.deBoynePollard-
I'm sure I could somehow add in an ugly call to fsutil and then parse the output...
... or you could find out whatever system callfsutilis making and use it directly.
Exactly what I would like to do, if I knew what fsutil is calling...
Any idea how I can find that out?

Loading...