rhinoceros
asked on
vbscript does not run on Vista UAC
We are using WIndows 2003 SP2 domian with XP workstations, All logon script is normally running. But just get a few Vista Business Desktop. The existing logon vbscript did not work on Vista (joined domain). Becuase of Vista UAC prompted up we need to input administrator username and password when the domain users logon.
We also looked for some information, and have a few question about it.
1. Some guys suggested that stop UAC, I don't believe it is a good solution, rite ?
2. Also they teached us to do it on local policy (security option) if disable UAC. But how to stop it on Ad Domain Policy if necessary ?
3. If not stop UAC, how to solve vbscript problem ?
-- Logon script --
net use x: \\server1\data
prt.vbs
-- prt.vbs --
On error resume next
Set net = CreateObject("WScript.Netw ork")
net.AddWindowsPrinterConne ction "\\server2\print01"
Thanks !
We also looked for some information, and have a few question about it.
1. Some guys suggested that stop UAC, I don't believe it is a good solution, rite ?
2. Also they teached us to do it on local policy (security option) if disable UAC. But how to stop it on Ad Domain Policy if necessary ?
3. If not stop UAC, how to solve vbscript problem ?
-- Logon script --
net use x: \\server1\data
prt.vbs
-- prt.vbs --
On error resume next
Set net = CreateObject("WScript.Netw
net.AddWindowsPrinterConne
Thanks !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not a valid solution. "turn if off" is not a solution it's avoiding an issue.
ASKER
Thanks !
I have a new question.. I hope you can help...
https://www.experts-exchange.com/questions/22835399/Mount-Network-Printer-Access-is-denied.html