Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. EgilHansen

    XML Driven Logon Script - AD enabled

    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...
  2. EgilHansen

    Detecting domain/user/computer through VPN tunnel/connection

    Thanks dm4ever, the basic hard coded example works now.
  3. EgilHansen

    Detecting domain/user/computer through VPN tunnel/connection

    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...
  4. EgilHansen

    Detecting domain/user/computer through VPN tunnel/connection

    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...
  5. EgilHansen

    Weird bug with MapNetworkDrive and DFS shares

    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...
  6. EgilHansen

    Help: How to detect if client is logging in with a citrix clint

    Hello I would like to detect when I client is connecting to a Windows Terminal Server with a Citrix client? Best regards Egil Hansen.
  7. EgilHansen

    How to find the current logon server?

    Thanks mate!
  8. EgilHansen

    How to find the current logon server?

    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)...
  9. EgilHansen

    I need a wonder script

    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...
  10. EgilHansen

    I need a wonder script

    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.
  11. EgilHansen

    VBScript to Redirect MyDocuments (Logon Script)

    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.
  12. EgilHansen

    I need a wonder script

    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...
  13. EgilHansen

    help parsing a xml file

    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)...
  14. EgilHansen

    help parsing a xml file

    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...
  15. EgilHansen

    Sharing your login scripts

    mrmovie just poste it in the paste bin then: http://www.rafb.net/paste/
  16. EgilHansen

    Sharing your login scripts

    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...

Part and Inventory Search

Back
Top