brokenhalo
IS-IT--Management
Hello all,
This might be a big request, but I need a super logon vbscript. I am able to get portions of different scripts to run, but I cannot get them all in a single script. Here is what I need to accomplish... (FYI: These are Windows XP Pro domain-joined PC's. Windows Server 2008 R2, with a 2008 domain functional level)
1) Delete all items from the C:\Windows\Profiles\All Users\Desktop and repopulate with items from a shared folder on our server.
2) Map several network drives, one of which uses a %username% variable.
3) Map several network printers. The users are not members of the Power Users local group, so by default they cannot add printers. Not sure if this will be an issue (It has already caused me issues). I am not opposed to adding them to the Power Users group, so if we can add a domain group to the local Power Users group first as a portion of this script (probably step #2), then lets do that.
4) Set a default printer (this has also caused me issues for regular users)
Any help is greatly appreciated!
Brad L.
Systems Engineer
Prestige Technologies
bradlaszlo[at]prestigetech.com
"Some things Man was never meant to know. For everything else, there's Google.
This might be a big request, but I need a super logon vbscript. I am able to get portions of different scripts to run, but I cannot get them all in a single script. Here is what I need to accomplish... (FYI: These are Windows XP Pro domain-joined PC's. Windows Server 2008 R2, with a 2008 domain functional level)
1) Delete all items from the C:\Windows\Profiles\All Users\Desktop and repopulate with items from a shared folder on our server.
2) Map several network drives, one of which uses a %username% variable.
3) Map several network printers. The users are not members of the Power Users local group, so by default they cannot add printers. Not sure if this will be an issue (It has already caused me issues). I am not opposed to adding them to the Power Users group, so if we can add a domain group to the local Power Users group first as a portion of this script (probably step #2), then lets do that.
4) Set a default printer (this has also caused me issues for regular users)
Any help is greatly appreciated!
Brad L.
Systems Engineer
Prestige Technologies
bradlaszlo[at]prestigetech.com
"Some things Man was never meant to know. For everything else, there's Google.