[wpkg-users] "net use" exit code 2

Andrea Zagli azagli at libero.it
Tue Dec 13 12:55:45 CET 2011


i have a strange behavior

in a package definition i use "net use" to mount a disk

if i use "/user:domain\administrator" parameter it works; instead if a  
use "/user:domain\readonly" it doesn't work and return the exit code 2  
(readonly isn't a "domain admins")

if i execute the same command (with user readonly) from "prompt msdos"  
it works (so the user readonly have the rights to mount the disk)

what could be the problem?

thanks in advance

(windows xp; wpkg 1.2)




More information about the wpkg-users mailing list