Error 530: Access Denied with Win32 Network Extender Functions
Keywords: 530, "530: Access denied"
Question:
I have been trying to make this work but I keep getting errors.Max_Users = WNTShareInfo("Server", "Share", 0, 8) gives me extender error 530 Curr_Users = WNTShareInfo("Server", "Share", 0, 9) gives me extender error 530The share I'm trying to find out about is a disk share ( I assume that 0 is the correct share type to use).I can't find error 530 documented anywhere. I'm at a loss as to what is happening.
Answer:
The Error 530 indicates that you do not have access permissions to that share.You need to either be an administrator, or have administrative rights to that directory.
You can also get this error when you use functions such as wntMemberSet when you're trying to set a user to be a member of a group, while you don't have the prerequisite administrative permissions.
Question (530 error with wntSvcControl):
I'm gettingthe 530 error: access denied, when using wntSvcControl.In my WWWBATCH.INI file is:
lasterror = 5 (open service)Is there a setting on the server, such as remote access administration, remote access permissions, etc. that I need to set remote access permission?
- I'm logged in as same username.
- It's the correct service name.
- Works on server but not from workstation (so it doesn't work remotely).
- I have access to all service types: starts, stops, etc.
- When I open service manager, I can change/start/stop services manually.
Resolution:
Turns out after rebooting his NT workstation, his wntSvcControl command finally worked.We think the problem was related to having just created thet new user on the server. And since that user was already logged into the workstation, we're guessing that NT didn't resolve it until he logged off and back onto the workstation. AFTER the new account was setup on the server.
Article ID: W13533Filename: Error 530 with Win32 Network Extender Functions.txt