first commit

This commit is contained in:
Шершнев Игорь Александрович
2022-05-25 16:54:13 +03:00
commit 350ea7e6c6
79 changed files with 18298 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
%COMSPEC% /c copy /y %SOFTWARE%\tools\bginfo.exe %WINDIR%
%COMSPEC% /c copy /y %SOFTWARE%\tools\users.bgi %WINDIR%
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo /t REG_SZ /d "%WINDIR%\bginfo.exe /accepteula /i%WINDIR%\users.bgi /timer:0" /f
%COMSPEC% /c copy /y %SOFTWARE%\tools\bginfo.exe %WINDIR%
%COMSPEC% /c copy /y %SOFTWARE%\tools\users.bgi %WINDIR%
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo /t REG_SZ /d "%WINDIR%\bginfo.exe /accepteula /i%WINDIR%\users.bgi /timer:0" /f
%COMSPEC% /c del %WINDIR%\system32\bginfo.exe
%COMSPEC% /c del %WINDIR%\system32\users.bgi
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo /f

2
packages/tools/tni.bat Normal file
View File

@@ -0,0 +1,2 @@
@echo off
start \\fs\INSTALL\WPKG\packages\tools\tniwinagent.exe /scripted /path:"\\fs\INSTALL\WPKG\status\tni" /delay:120 /overwrite

View File

@@ -0,0 +1 @@
агент и файл конфигураци генерируется на inventory сервере

View File

@@ -0,0 +1,24 @@
[ResidentAgent]
version=22.02.16.5988
config-timestamp=20220401172226.409000+180
startup-scan=1
startup-scan-delay=5
overwrite=1
avoid-simultaneous-requests=1
sensors=temp,fan,clock,voltage,current,power
wua-scan=0
update-from-url=1
update-url=\\fs.aao.ru\INSTALL\WPKG\packages\tools\tni
update-username=aao\wpkg
update-password=0E0000008CBC9A5FE3A78AB57C5C424CBCD8DBFA
[ScheduledTasks]
={5329456B-4AD1-4AB2-A18F-1404C37BE713}enabled=1caption=Scanrunatstartup=0immediatelyrunifskipped=1tasktype=agentscanstarttime=20211119090100.000000+180scheduletype=dailyeveryvalue=1daysofweek=weeksofmonth=daysofmonth=months=intervalvalue=0intervaltype=periodintervalvalue=0periodintervaltype=nextrun=20211120090100.000000+180skipped=0nologmessages=0
={B515386F-6B3D-4AA3-818C-0C35439AF672}enabled=1caption=Agent updaterunatstartup=0immediatelyrunifskipped=1tasktype=agentupdatestarttime=20211119090500.000000+180scheduletype=dailyeveryvalue=1daysofweek=weeksofmonth=daysofmonth=months=intervalvalue=0intervaltype=periodintervalvalue=0periodintervaltype=nextrun=20211120090500.000000+180skipped=0nologmessages=0
[SendDataSettings]
save-sent-data=0
method=smSMB
SavePath=\\fs.aao.ru\INSTALL\WPKG\status\tni
Login=wpkg
Password=0E0000008CBC9A5FE3A78AB57C5C424CBCD8DBFA

BIN
packages/tools/users.bgi Normal file

Binary file not shown.

View File

@@ -0,0 +1,8 @@
[Setup]
Lang=en
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=server_silent
Components=ultravnc_server_s
Tasks=installservice,startservice

View File

@@ -0,0 +1,8 @@
[Setup]
Lang=en
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=custom
Components=ultravnc_server,ultravnc_viewer
Tasks=installservice,startservice,desktopicon,associate,installdriver

View File

@@ -0,0 +1,68 @@
[ultravnc]
passwd=C929D0AD6D8D0172DC
passwd2=A553879060C704D20C
[admin]
UseRegistry=0
MSLogonRequired=1
NewMSLogon=1
DebugMode=2
Avilog=0
path=C:\Program Files\UltraVNC
kickrdp=0
service_commandline=
DebugLevel=10
DisableTrayIcon=1
rdpmode=0
LoopbackOnly=0
UseDSMPlugin=1
AllowLoopback=1
AuthRequired=1
ConnectPriority=1
DSMPlugin=SecureVNCPlugin64.dsm
AuthHosts=
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
SocketConnect=1
HTTPConnect=1
AutoPortSelect=1
PortNumber=5900
HTTPPortNumber=5800
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=1
RemoveAero=0
QuerySetting=1
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=0
primary=1
secondary=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
FileTransferTimeout=1
clearconsole=0
accept_reject_mesg=
KeepAliveInterval=5
DSMPluginConfig=SecureVNC;0;0x00104001;
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu2=100
MaxFPS=25

View File

@@ -0,0 +1 @@
allow 0x00000003 ..\Support

View File

@@ -0,0 +1,90 @@
[WpkgConfig]
# If you want Wpkg-GP to run from local group policies, e.g. execute
# without you configuring anything on the servers, set this to 1
# Default: 1
# Alternatives: 0 | 1
EnableViaLGP = 1
# If you want the settings configured in this config file to override
# any settings set through the Group Policy administrative template for
# Wpkg-GP, and deployed through Group Policies, set this to 1
IgnoreGroupPolicy = 0
# Do not execute Wpkg-GP at bootup. Other methods of executing will still work.
# Default: 0
# Alternatives: 0 | 1
DisableAtBootUp = 0
# The path to your wpkg.js here
WpkgCommand = \\fs.aao.ru\INSTALL\WPKG\wpkg.js
# The log level (a value between 0 and 3)
WpkgVerbosity = 1
# The user name WPKG will use for connecting to the network
WpkgNetworkUsername = aao\wpkg
WpkgNetworkPassword = clear:ypp44SmNiU94qy
# The maximum number of consecutive reboots allowed before skipping
# execution of Wpkg-GP
WpkgMaxReboots = 10
# Configure whether Wpkg-GP should initialize a reboot when Wpkg.js requests it, or not.
# Alternatives: force | ignore
# Default: force
WpkgRebootPolicy = force
# Configure whether users not in local administrators group
# should be able to execute Wpkg-GP. Enabling this means that users
# on other computers that is not a member of the local administrators
# group on this computer can execute Wpkg-GP. Users that are a member
# of the local Administrators group can always execute Wpkg-GP regardless
# of this setting.
# Alternatives: 1 | 0
# Default: 0
WpkgExecuteByNonAdmins = 0
# Configure whether all local users on the computer should be able to execute Wpkg-GP.
# This is necessary for the users to initiate installation of software themselves if
# the setting WpkgExecuteByNonAdmins = 0
# Alternatives: 1 | 0
# Default: 1
WpkgExecuteByLocalUsers = 1
# Configure whether to show an activity indicator when Wpkg-GP is executing
# Alternatives: 1 | 0
# Default: 1
WpkgActivityIndicator = 1
# Configure if you want WPKG-GP to test the network connection with a
# simple TCP-connect before trying to mount the share
# This helps reduce boot stall on mobile clients as the timeout for a
# tcp connect is set pretty short.
# TestConnectionHost = myhost.example.com
# Configure the port to connect to
# Default: 445 (standard port for MS shares - alternative might be 139)
# TestConnectionPort = 445
# Number of retries - increase if you have clients that connect slowly
# Each try takes approx 2 seconds
# Default: 5
# TestConnectionTries = 5
# Number in seconds WPKG-GP sleeps before retrying to test network connection again
# Default: 2
# TestConnectionSleepBeforeRetry = 2
# Number of retries to mount share before giving up
# Default: 7
# ConnectionTries = 7
# Number in seconds WPKG-GP sleeps before retrying to connect to share
# Default: 5
# ConnectionSleepBeforeRetry = 5
[EnvironmentVariables]
# Specify environment variables you want Wpkg to have here
# Example: SOFTWARE = \\file001\install\software

View File

@@ -0,0 +1,55 @@
################################
## WPKG-GP Client CONFIG File ##
################################
[General]
# Inform user that wpkg wasn't run for a specific time, default is 14 days
# Default: False
# Alternatives: True | False
check last update = True
last update interval = 14
# Add close button to tray
# Default: False
# Alternatives: True | False
allow quit = False
# Check LOG for errors from bootup wpkg-gp execution
# Default: False
# Alternatives: True | False
check boot log = False
# Check if VPN is connected (Only working with Cisco AnyConnect ATM installed in default folder)
# Default: False
# Alternatives: True | False
check vpn = False
# Specify the timeout in seconds after a which a shutdown/reboot will be initiated
# Default: 30
shutdown timeout = 30
# Specify custom help file
# Default: Default
# Alternatives: Default | %RELATIVE_PATH_TO_HELPFILE_FROM_INSTALL_DIR%
help file = Default
[Update Check]
# Select update check method
# Default: False
# Alternatives: wpkg-gp | updatefile | False
method = wpkg-gp
# Specify interval for automatic update checks in minutes, if False or 0 it wont check for updates automatically.
interval = 480
# URL to WPKG-GP Client update file, needs to be set for method = updatefile
update url = https://YOUR_WEB.SERVER/packages.xml
# Filter what pending tasks should be displayed (update, install, downgrade, remove), seperate by ";" without spaces.
# Default: install;update;downgrade;remove
# Example: install;update
# would only show new installs and updates
filter =
# Blacklist what packages the user wont be informed about by package NAME, they will still install.
# Entries can be only the first letters which will be compared to the packages, seperate by ";" without spaces.
# Default: Not Set
# EXAMPLE: micro;fire
# would block the packages with the names Micosoft Office, Microsoft Visual Studio, Firefox , Firebird
# but not Mozilla Firefox
blacklist =check_;wpkg.xml
# Check after startup if updates are available.
# Default: False
# Alternatives: True | False
start up = False