-
Startup Script To Map Network Drive
I just checked this and it's currently Undefined. By default that means "Send NTLMv2 response only" for Win 2008 Server, I believe. Does that matter, though, since after I log in, I can run that script? jas
-
Startup Script To Map Network Drive
Will have to check that when I get home later, since the server is there and I can't RDP into it (on purpose) remotely. Is there a way to ask Windows about that setting via the CLI? I can ssh into the machine... The NAS is basically just a CentOS (RedHat) Linux server running SAMBA, NFS, AFP, etc. The drive mounts fine, once the machine is booted. If I disable the script in gpedit, reboot, and then run the script from the CLI, it works beautifully. But it requires me to log in to do that, obviously. Would changing those security settings (auth level) actually help here? Thanks. jas
-
Startup Script To Map Network Drive
Happens to be both in this case. But the requirement is to use the NAS's authentication, since it's NOT part of the domain. I've just made the uname/passwd the same. jas
-
Startup Script To Map Network Drive
So another dumb question: I found the "Network Share" section in the editor, but that appears to be about sharing a drive, not mounting an already-existing share. Or did I misread that? jas
-
Startup Script To Map Network Drive
OK, that makes sense. I do have a domain, but I don't really need other machines in the domain auto-mounting Z:. Just the domain server. So would you suggest I still go through gpmc instead? Sorry for the clue-by questions I'm a UNIX geek trying to learn Win2008 server. -) jas
-
Startup Script To Map Network Drive
I have to admit you've somewhat lost me there. In gpedit, what am I looking for? There's no "Preferences" section, but there is a "Windows Settings" under "Computer". However, no "Network Shares". Are you saying I can add that using a security filter? Kinda clueless there... jas
-
Startup Script To Map Network Drive
I tried the "Always wait..." and that didn't make a difference. I specifically want it in the Computer section vs. the User one, because I want this to happen at boot time, not login time. As expected, putting it in the User section does work, but only when a user logs into the computer. It's not mounted pre-login. That doesn't help me out much. :-( jas
-
Startup Script To Map Network Drive
Nope. Doesn't appear to. I actually directed the output of the script to a tmp file along with some echos before and after the commands were run. This is what shows: Begin bane z: was deleted successfully. The command completed successfully. End bane And yet I still see the issue. jas
-
Startup Script To Map Network Drive
The script is running on the server, trying to map a drive from a NAS. The behavior doesn't change w/IP vs. FQDN. jas
-
Startup Script To Map Network Drive
Hey folks - I've followed the various guides on how to get a batch file to run automatically upon Windows 2008 startup (vs. user login). The batch file I've written is really simple: @echo off net use z: \\server.fqdn\share_name passwd /user:username It sort-of works. Once the machine boots, I open the Windows Explorer, and I see the drive mapped but "Disconnected" with a big red X next to it. If I click on the drive, I can see its contents. If I try to right-click and disconnect it, no luck. It tells me the path doesn't exist. I get a similar error if I try to remove it using "net delete". So I'm doing something wrong, I'm just not sure where to look. The batch file? Permissions of some sort? ... Any other suggestions or ideas? Thanks. jas
jvp
Members
-
Last visited
-
Posts
10 -
Reputation
0