Not logged in. · Lost password · Register
Forum: Common Questions RSS
Deployment procedure example for MyUSBOnly by Windows logon script (Windows Server/Active Directory) (Important)
mysupport (Administrator) #1
Member since Jul 2008 · 108 posts
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: Deployment procedure example for MyUSBOnly by Windows logon script (Windows Server/Active Directory)
Prerequisite (Prepare the master MyUSBOnly.bin configuration file)
1.    Install and config MyUSBOnly setting on your local computer.
2.    Find MyUSBOnly.bin file on your local computer, your need to config and save the setting in MyUSBOnly first.
(for example, you should change the password, add whitelist USB device and report manager server IP)
    Find MyUSBOnly.bin file in Windows XP
    C:\Documents and Settings\All Users\Application Data\MyUSBOnly\MyUSBOnly.bin
    Find MyUSBOnly.bin file in Windows Vista
    C:\ProgramData\MyUSBOnly\MyUSBOnly.bin
3.    Copy above MyUSBOnly.bin from your local computer to Windows Server Shared Folder
4.    Modify the logon script batch file below with correct COPY_FROM_SERVER_SHARED_PATH and SOFTWARE_SERIAL_NUMBER
5.    Copy the logon script batch file to Windows Server Shared Folder
6.    Copy myusbonly_setup.msi and key.bin (if any) file to Windows Server Shared Folder
7.    Test and setup the logon script to your Windows Server


MyUSBOnly Deployment

1st Stage

AutoInstall by logon script (for Domain User)
Run install script manually (for non domain user)

#Both installation will add a job in windows Scheduled Tasks which will update the MyUSBOnly configuration and USB whitelist for every 3 hours.

MyUSBOnly Installation Batch File
@echo off
rem myusbonly_logonscript.txt --- release v1.03

rem ### --- MUST CHANGE - BEGIN ###
set COPY_FROM_SERVER_SHARED_PATH=\\192.168.1.1\netlogon_script
set MATCH_MACHINENAME=\\192.168.1.1\netlogon_script\myusbonly_matchname.txt
rem Note:
rem Change value of COPY_FROM_SERVER_SHARED_PATH
rem Copy myusbonly_setup.msi, MyUSBOnly.bin, key.bin (if any) to above folder
rem MyUSBOnly.bin file is MyUSBOnly main configuration file
rem You can find it at C:\Documents and Settings\All Users\Application Data\MyUSBOnly\
set SAVE_INSTALLATION_LOGFILE=\\192.168.1.1\netlogon_script\MyUSBOnly_InstallLog.txt
set SOFTWARE_SERIAL_NUMBER=XXXXX-XXXXX
rem ### --- MUST CHANGE - END ###


Download the full script at
http://www.myusbonly.com/dload/myusbonly_logonscript.txt
http://www.myusbonly.com/dload/myusbonly_logonscript_machinename.txt
------------------------------------------------------------------------------------------------------------

Quick Tips:
Download the above script at
http://www.myusbonly.com/dload/myusbonly_logonscript.txt
Rename it to myusbonly_logonscript.bat

Note: If you need to deploy the software on specific computers instead of all computers on the network, please use the following script
http://www.myusbonly.com/dload/myusbonly_logonscript_machi…
http://www.myusbonly.com/dload/myusbonly_matchname.txt


2nd Stage

Submit Software installation policy in Active Directory (For Domain User only)
This policy can install the program to new computer and update program as new version on existing workstation by restart computer.

#It will generate for 4 process while update program to new version. After restart the computer again, the problem will fix automatically.


Download the Full Mass Deployment Guide Document.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Powered by Unclassified NewsBoard, © 2003-7 by Yves Goergen
Current time: 2010-09-08, 09:52:15 (UTC +08:00)