Forum Discussion
I know it's been a while, but try this instead (courtesy of members of our support and development team).
@echo off wmic SystemEnclosure GET SMBIOSAssetTag > tmp.txttype tmp.txt
What's happening is that the WMIC command outputs Unicode text as opposed to ASCII text (which the Tech console understands) the "type" command converts the Unicode to plain ASCII.
At this time the remote system serial number cannot be pulled into the System Info tab.
Hello Rob,
I tried using your script this way:
@echo off wmic bios get serialnumber > tmp.txttype tmp.txt
but I get (no output) in the Tech Console. I am trying to gather the computer serialnumber/asset tag using the above command. If you could assist me with this issue I would greatly appreciate it.
Thanks.
- scrappy185513 years agoNew Member
We use our Rescue Scripts Primarily as a fast and easy way to support non-admin users with our valid Domain credentials. When you remotely connect to a user, if you enter your administrator credentials and then restart the applet as a service you have power to run any script as administrator . We are allowing our lower level techs use it to execute .cpl files (appwiz.cpl,ncpa.cpl, ect.) wiithout having to have alot of knowledge of how to get to those features through the system root. We also have scripts that will stop and restart services that the user typically wouldn't have access to and you'd have to go to run services.msc or compMgt.msc using runas to get full functionality. Here are a few that we use every day.
I would recommend to MODS though that Logmein Rescue needs to make it easier for larger organizations that use these scripts to send them to the users who need them. Perhaps even allow a "Management" Function to allow other users to have rights to created scripts. Right now I have a job that will import a registry file with the created scripts for the user who needs them. I'm posting the script commands below that we use but i'm not seeing how to attach resource files so if you would like to see my source files then i'll be more than happy to send them to you.
<script>
<name>Add/Remove Programs</name>
<file>C:\Rescue_scripts\OpenControlpanelcpls\appwiz.bat</file>
<script>
<name>Computer Management</name> <file>C:\Rescue_scripts\OpenControlpanelcpls\CompMgt.bat</file>
<script>
<name>Control Panel/ Network Connections</name> <file>C:\Rescue_scripts\OpenControlpanelcpls\controlPanel.bat</file>
<script>
<name>Task Manager</name>
<file>C:\Rescue_scripts\TaskMgr\TaskMgr.bat</file>
<script>
<name>Nomad Jobs - 1. - Stop Service</name> <file>C:\Rescue_scripts\ServiceJobs\StopService.bat</file>
<script>
<name>Nomad Jobs - 2. - Start Nomad</name> <file>C:\Rescue_scripts\ServiceJobs\StartService.bat</file>
<script>
<name>Open XCHViewer</name>
<file>C:\Rescue_scripts\AfariaXchviewer\xchviewer.bat</file>
<script>
<name>Cisco PCF Import</name>
<file>C:\rescue_scripts\CiscoPCF\CiscoPCFs.bat</file> <resource>C:\rescue_scripts\CiscoPCF\CiscoPCFs.exe</resource>
<script> <name>chkdsk</name>
<file>C:\Rescue_scripts\Chkdsk\chkdsk.vbs</file>
<script>
<name>Clear Temp Files</name>
<file>C:\Rescue_scripts\ClearTempFiles\cleartempfiles.bat</file>
<script> <name>Spooler Cleaner</name> <file>C:\Rescue_scripts\Spooler_Clean\startspoolcleaner.bat</file> <resource>C:\Rescue_scripts\Spooler_Clean\spoolcleaner.bat</resource>
<script> <name>Defrag C Drive</name>
<file>C:\Rescue_scripts\DiskDefrag\Defrag.bat</file>
<script>
<name>Uninstall IE8_Visual-Passive</name>
<file>C:\Rescue_scripts\REMOVE_IE8\IE8Uninstall_visual.bat</file>
<script>
<name>Uninstall IE8 Silent-No Visual</name>
<file>C:\Rescue_scripts\REMOVE_IE8\IE8Uninstall_silent.bat</file>
<script>
<name>User Password Cache</name> <file>C:\Rescue_scripts\OpenControlpanelcpls\Userpasswords.bat</file>