Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Discussions
Off Topic
deploy java via active directory
jovenlibre
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.
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
Gaber
Can you not deploy it using the MSI by group policy?
How do I deploy Java using Active Directory across a network?
jovenlibre
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
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).
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS