您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 其它办公文档 > Helpdesk桌面运维自动化配置工具
Helpdesk_Automatic_configuration_Tool软件界面如下图:以下至文档末尾是全部代码:#cs----------------------------------------------------------------------------AutoItVersion:3.3.14.2Author:MiguelLouisScriptFunction:Helpdesk_Automatic_configuration_Tool关于Helpdesk_Automatic_configuration_ToolHelpdesk_Automatic_configuration_Tool是一款Helpdesk桌面运维自动化配置的工具,由类BASIC语言的AutoItv3脚本编写,用于简化Helpdesk大量繁复的操作,通过GUI交互,实现以下功能,大幅解放Helpdesk桌面工程师的时间和精力,用于更高的技术学习和提升。1.自动设置系统选项2.客户端自动加域3.自动安装软件4.自动重启电脑并登录域账户5.自动配置桌面环境6.自动配置outlook及skype等配置说明:以下代码位于134~144行,user-defined部分请根据实际需求和场景自定义Global$rootUserName=administrator;本地管理员administratorGlobal$rootPassword=user-defined;本地管理员密码Global$createUserName=admin;创建本地用户名Global$createUserPassword=user-defined;设置本地用户名密码Global$domainName=user-defined;AD域名,Global$itUserName=user-defined;IT管理员域账户Global$itPassword=user-defined;IT管理员域账户密码Global$fileSrvPath=user-defined;安装文件所在的共享目录地址Global$userName;用户域账号Global$userPassword;用户域账户密码Global$hostName;用户计算机名使用说明:1.该自动化运维工具适用于MicrosoftWindows7、Windows8、Windows10系统,结合企业级系统部署平台MDT使用更优2.配置选项用于根据不同部门员工的桌面使用需求自动进行系统设置、安装软件等初始化操作,需在administraor账户下运行3.用户选项用于根据不用部门员工的桌面使用需求自动进行桌面环境配置,outlook、skype等办公软件登录设置,需在用于账户下运行4.自动重启系统+登录账户通过授予用户本地管理员权限并修改注册表实现,在系统重启自动登录用户账户后,需运行取消自动登录和取消管理员权限来重置注册表并从administrators组移出用户账户5.可根据各自公司内部的实际桌面运维需求,修改该脚本代码,从而添加、修改或删除自动化功能模块6.所需安装的软件和工具下载放置于$fileSrvPath下,并根据存放路径和软件名称修改对应模块的代码#ce----------------------------------------------------------------------------;ScriptStart-Addyourcodebelowhere;;请求管理员权限#RequireAdmin;#includeButtonConstants.au3;#includeGUIConstantsEx.au3;#includeWindowsConstants.au3#includeGUIConstants.au3#includeGuiButton.au3;切换为OnEvent模式Opt(GUIOnEventMode,1)_main()GUISetState()Func_main()Global$Checkbox[53]Global$gui_width=490Global$gui_height=500Global$checkbox_left=5Global$sysconf_top=10Global$install_top=155Global$user_top=375Global$checkbox_width=150Global$checkbox_height=20Global$select_left=5Global$select_top=300Global$select_width=50Global$select_height=30GUICreate(自动化配置工具V1.0-ByMiguelLouis,$gui_width,$gui_height)GUICtrlCreateGroup(系统设置,$checkbox_left,$sysconf_top,$gui_width-10,$gui_height/3-30)$Checkbox[1]=GUICtrlCreateCheckbox(修改计算机名并加域,$checkbox_left+5,$sysconf_top+20,$checkbox_width,$checkbox_height)$Checkbox[2]=GUICtrlCreateCheckbox(修改管理员密码,$checkbox_left+160,$sysconf_top+20,$checkbox_width,$checkbox_height)$Checkbox[3]=GUICtrlCreateCheckbox(创建本地用户admin,$checkbox_left+320,$sysconf_top+20,$checkbox_width,$checkbox_height)$Checkbox[4]=GUICtrlCreateCheckbox(添加IT管理员组,$checkbox_left+5,$sysconf_top+50,$checkbox_width,$checkbox_height)$Checkbox[5]=GUICtrlCreateCheckbox(开启远程桌面,$checkbox_left+160,$sysconf_top+50,$checkbox_width,$checkbox_height)$Checkbox[6]=GUICtrlCreateCheckbox(安装AD证书,$checkbox_left+320,$sysconf_top+50,$checkbox_width,$checkbox_height)$Checkbox[7]=GUICtrlCreateCheckbox(激活Office,$checkbox_left+5,$sysconf_top+80,$checkbox_width,$checkbox_height)$Checkbox[8]=GUICtrlCreateCheckbox(降低UAC等级,$checkbox_left+160,$sysconf_top+80,$checkbox_width,$checkbox_height)GUICtrlCreateGroup(软件安装,$checkbox_left,$install_top,$gui_width-10,$gui_height/3-30)$Checkbox[21]=GUICtrlCreateCheckbox(AdobeFlashPlayer,$checkbox_left+5,$install_top+20,$checkbox_width,$checkbox_height)$Checkbox[22]=GUICtrlCreateCheckbox(GoogleChrome,$checkbox_left+160,$install_top+20,$checkbox_width,$checkbox_height)$Checkbox[23]=GUICtrlCreateCheckbox(LinPhoneforWindows,$checkbox_left+320,$install_top+20,$checkbox_width,$checkbox_height)$Checkbox[24]=GUICtrlCreateCheckbox(CiscoVPNClient,$checkbox_left+5,$install_top+50,$checkbox_width,$checkbox_height)$Checkbox[25]=GUICtrlCreateCheckbox(MinervaPro,$checkbox_left+160,$install_top+50,$checkbox_width,$checkbox_height)$Checkbox[26]=GUICtrlCreateCheckbox(Avayaone-X,$checkbox_left+320,$install_top+50,$checkbox_width,$checkbox_height)$Checkbox[27]=GUICtrlCreateCheckbox(Teamviewer11to10,$checkbox_left+5,$install_top+80,$checkbox_width,$checkbox_height)$Checkbox[28]=GUICtrlCreateCheckbox(Teamviewer10,$checkbox_left+160,$install_top+80,$checkbox_width,$checkbox_height)GUICtrlCreateGroup(配置选项,$select_left,$select_top,$gui_width-10,$gui_height/3-100)Global$Radio1=GUICtrlCreateRadio(销售,$select_left+5,$select_top+20,$select_width,$select_height)Global$Radio2=GUICtrlCreateRadio(销售(含VPN),$select_left+55,$select_top+20,$select_width+40,$select_height)Global$Radio3=GUICtrlCreateRadio(运营,$select_left+150,$select_top+20,$select_width,$select_height)Global$Radio4=GUICtrlCreateRadio(售后,$select_left+200,$select_top+20,$select_width,$select_height)GUICtrlCreateGroup(用户选项,$select_left,$user_top,$gui_width-10,$gui_height/3-100)$Checkbox[43]=GUICtrlCreateCheckbox(销售,$checkbox_left+5,$user_top+20,$checkbox_width-100,$checkbox_height+10)$Checkbox[44]=GUICtrlCreateCheckbox(运营,$checkbox_left+65,$user_top+20,$checkbox_width-100,$checkbox_height+10)$Checkbox[45]=GUICtrlCreateCheckbox(售后,$checkbox_left+135,$user_top+20,$checkbox_width-100,$checkbox_height+10)$Checkbox[41]=GUICtrlCreateCheckbox(取消自动登录,$checkbox_left+205,$user_top+20,$checkbox_width-50,$che
本文标题:Helpdesk桌面运维自动化配置工具
链接地址:https://www.777doc.com/doc-4673349 .html