Windows 7 Windows 7 login script

Discussion in 'Programming and Scripting' started by gurgel, Apr 20, 2009.

  1. gurgel

    gurgel New Member

    Joined:
    Apr 20, 2009
    Messages:
    2
    Likes Received:
    0
    I have just connected a windows 7 pc to my domain and encountered a small problem with my login script.
    The script is a VB script and it connects the drives just as it should but the line:
    "shellObj.NameSpace(driveLetter).Self.Name = drvName", which in windows xp renames the drive after mapping it, doesn't do anything in windows 7. Does anyone know what to do? also, does anyone have any good tips on documentation concerning windows 7 scripting?
     
  2. Merijn25

    Merijn25 New Member

    Joined:
    Apr 21, 2009
    Messages:
    4
    Likes Received:
    0
    Hi there,

    I got the same problem here. It doesnt run..
    The script is pushed by an GPO. If i run the script manual it works but it wont show me the names the script must give it, only the mapping works.

    For example: mapschijf "G", "\\pfil01i\data$", "Bedrijfsdata" < It wont show Bedrijfsdata...
    Its a Windows 2008 DC.
     

Share This Page

Loading...