WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

wNT
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

wntAccessAdd Problem on NT 4


Question:

I recently upgraded to 2004A. When I run the following script:

AddExtender("WWWNT34I.DLL")
FileSystem = DiskVolInfo("C:\", 2)
FolderName="c:\winnt\alh4"

If !DirExist(FolderName) then DirMake(FolderName)

debug(1)
If FileSystem =="NTFS"
wntAccessAdd("",FolderName,"System", 303, "DirNT:Full")
wntAccessAdd("",FolderName,"Administrators", 303, "DirNT:Full")
wntAccessAdd("",FolderName,"Everyone", 303, "DirNT:Read")
wntAccessAdd("",FolderName,"Power Users", 303, "DirNT:Change")
Endif
Exit
I can no longer access the folder I created, in this case, 'alh4'. I get an access denied error. If I look at permissions, I get a message box. The message box says "The security information for c:\winnt\alh4 is not standard and cannot be displayed. Windows NT 3.x and 4.x support certain features such as Deny Access Control Entries but cannot edit security information which uses these features. ...". I am using the newer dll of wwwnt34i.dll (39002.0.0). If however, I put back the previous wwwnt34i.dll (39000.0.0), everything works fine - as it did before.

Answer:

This is a known issue with that build of the NT extender (v39002). There has been lots of work involving the fixing of some difficult-to-deal-with problems related to NTFS permissions and how they are handled differently on WinNT v4.0 / Win2K / WinXP / Win2K3.

The next build, v39004, does not have the problem that you reported when it is run on a WinNT v4.0 SP6a system. I have tested it along with the v39002 release of the NT extender and have been able to turn the problem on/off just by switching versions of the extender.


Article ID:   W16525
File Created: 2005:02:18:12:21:16
Last Updated: 2005:02:18:12:21:16