deploy java via active directory

in Off-Topic
Hy,
I have two days trying to create a script to automate java updates.
option 1:
create a script:
Net use Z: \\<mydomainname>\c:\Java install
Echo Installing Java
Echo Please wait for Java installation to Finish
REM Run installation
MSIEXEC /I Z:\au.msi /passive /norestart
regedit.exe /s Z:\NOJAVAUPDATE.reg
net use /delete Z:
Place in share folder, in c:\
ok second step:
create a GPO and then link in a unique user (for test purpose).
The GPO is in user config/windows set/scripts/logon and place the batch file .
but when the user login, nothing happens. neither create the z:\\ driver.
i dont find in the net a good tutorial.
Thanks in advanced.
I have two days trying to create a script to automate java updates.
option 1:
create a script:
Net use Z: \\<mydomainname>\c:\Java install
Echo Installing Java
Echo Please wait for Java installation to Finish
REM Run installation
MSIEXEC /I Z:\au.msi /passive /norestart
regedit.exe /s Z:\NOJAVAUPDATE.reg
net use /delete Z:
Place in share folder, in c:\
ok second step:
create a GPO and then link in a unique user (for test purpose).
The GPO is in user config/windows set/scripts/logon and place the batch file .
but when the user login, nothing happens. neither create the z:\\ driver.
i dont find in the net a good tutorial.
Thanks in advanced.
Comments
-
Gaber Member Posts: 19 ■□□□□□□□□□
Can you not deploy it using the MSI by group policy? How do I deploy Java using Active Directory across a network? -
jovenlibre Member Posts: 26 ■□□□□□□□□□
Now working, but the problem; ask for password administrator. <i dont want to ask admin password>.
but, now i working for .exe
another day. -
crrussell3 Member Posts: 561
If you are using it as a user logon script, it will always ask for admin password on standard user account unless you script in an admin username/password with runas. This would be stored plain text and not advised.
You can do this quick and easy via gpsi as Gaber suggested. Then you can create a transform using Orca to set certain options (like disable automatic update check).MCTS: Windows Vista, Configuration
MCTS: Windows WS08 Active Directory, Configuration