Hi all
I just recently revamped my logon script, making it more versatile so it would fit a new customers needs. This prompted one of my colleagues to suggested, that I actually wrote some documentation (shrugs) for it... well long story short, the logon script is now available on my blog with...
Hi PHV
I'm afraid it's not that simple. My problem lies in actually getting in contact with the PDC and performing LDAP queries.
Even if I hard code the distinguished name I'm still turned down:
Set objUser = GetObject("LDAP://CN=Administrator,CN=Users,DC=xxxxxxx,DC=yyy")
WScript.Echo...
Hi
The logon script we use at work works great when users are at the office. But when at home and connected to our network through a VPN tunnel (Netscreen Remote tunnel), the script is unable to detect the domain name, the current user and the current computer. Currently we detect those using...
Hello all
I'm having some weird issues with mapping to a DFS share with VB scripts.
When I run my login script from our headquarter, the mapping goes through without a hitch. But when I run the login script from one of our other locations, it won't map.
There is no problem when I do a good...
Hello
I need to know the server name of the server from where my logon server is running. How do I do that. I have managed to find the directory from where the logon script is running:
strCurrentDirectory = Left(Wscript.scriptfullname,Instr(1,WScript.ScriptFullName,wscript.scriptname,1)-1)...
Ahh, so basicly I would user folder redirection to point to a UNC, and then during logon map UNC to a folder?
This way, the users that wants to use a drive letter can access their documents from the mapped drive, and those who just want to use their regular My Documents shortcut, can use that...
Hi Mark
I did'nt know that. If the HomeFolder property is just there for legacy integration, what is the recommended way of going about this nowadays then?
Ohh and by the way, your post was indeed helpful.
Regards, Egil.
I'm quite sure that a mapped drive assigned to a user by the Home Folder property will be mapped before folder redirection is applied. Not sure though.
Hmm, so basicly you want a script that does what "Home folder" property in each users AD object does?
Why not (I assume you don't have that property set) just set that for all your users that needs this. It will automatically create a share for that user, with the correct ACL, and will...
doh, didn't see your reply before I managed to get it working my self. Thank you anyway.
Here's how my solution ended up looking (can probably be tweaked a lot):
Dim strWorkstation, strUser
strWorkstation = "pc100100"
strUser = "egh.dk"
' XML Parse test
Private Sub ParseXMLFile(strXMLFile)...
Hello
I'm trying to seperate the rules in my logon script from the logon script, and put them in a xml file. I've created the xml+dtd, but I've been having a very hard time trying to get the vbscript code to work.
Here's what I basicly want to do, in sudo code:
For Each group in groups...
Thanks for a great post, I found much inspiration here.
My script (source below) is based on gordemer script, Dan Thomsons (his script can be found here: http://hacks.oreilly.com/pub/h/1151) as well as my own additions.
This is my first try on a major logon script written in vbscript, so any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.