Files
shopdb/scripts/logs/CompleteAsset-G3ZM5SZ2ESF-2025-12-05_12-51-23.log
cproudlock 65b622c361 Add USB checkout system and SSO profile page
New Features:
- USB Device checkout/check-in system with barcode scanning
  - displayusb.asp: List all USB devices with status
  - addusb.asp: Add new USB devices via barcode scan
  - checkout_usb.asp/savecheckout_usb.asp: Check out USB to SSO
  - checkin_usb.asp/savecheckin_usb.asp: Check in with wipe confirmation
  - usb_history.asp: Full checkout history with filters
  - api_usb.asp: JSON API for AJAX lookups
- displayprofile.asp: SSO profile page showing user info and USB history
- Date/time format changed to 12-hour (MM/DD/YYYY h:mm AM/PM)
- SSO links in USB history now link to profile page via search

Database:
- New machinetypeid 44 for USB devices
- New usb_checkouts table for tracking checkouts

Cleanup:
- Removed v2 folder (duplicate/old files)
- Removed old debug/test files
- Removed completed migration documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 11:16:14 -05:00

340 lines
18 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
=====================================
Complete PC Asset Collection - Fri 12/05/2025 12:51:24.00
Computer: G3ZM5SZ2ESF
User Context: lg672650sd
Script Directory: S:\DT\cameron\scan
Proxy: http://10.48.130.158/vendor-api-proxy.php
Dashboard: https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp
Network Load Balancing: Disabled
=====================================
Checking for GE Aircraft Engines registry...
Backup-GERegistry.ps1 not found - skipping registry backup
=== Running PowerShell script ===
========================================
Complete PC Asset Collection & Storage
========================================
Computer: G3ZM5SZ2ESF
Log file: S:\DT\cameron\scan\logs\Update-PC-CompleteAsset-2025-12-05.log
Using provided URL: https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp
Dashboard: https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp
Note: Warranty lookups disabled (handled by dashboard)
=== STEP 1: COLLECT SYSTEM INFO ===
Collecting comprehensive system information...
Domain detected: logon.ds.ge.com
[OK] Shopfloor domain detected
[OK] Keyence/Genspect software detected - Keyence PC
Skipping application detection (PC Type: Keyence)
Collecting installed applications...
Found 182 installed applications:
- 64 Bit HP CIO Components Installer (v13.2.1)
- Adobe Acrobat Reader DC (v15.017.20050)
- Adobe AcrobatReaderDC-Shopfloor XI V01 (vadobe_acrobatreaderdc-shopfloor_xi_v01 Build 0.0.0.0)
- Adobe Flash Player 32 PPAPI (v32.0.0.330)
- BIG-IP Edge Client (v71.2019.0119.0331)
- BIG-IP Edge Client Components (All Users) (v71.2019.0119.0331)
- Cisco PEAP Module (v1.1.6)
- Classic Shell (v4.3.1)
- Compatibility Pack for the 2007 Office system (v12.0.6021.5000)
- DynaComware JapanFonts 2.20 V01 (vdynacomware_japanfonts_2.20_v01 Build 0.0.0.0)
- eDNC 6.1.4 (v6.1.4)
- GageCal
- GE InspiraFonts2017 April 1.0 V02 (vge_inspirafonts2017_april_1.0_v02 Build 0.0.0.0)
- GE NOMSAgentServiceInstaller 1.0 V01 (vge_nomsagentserviceinstaller_1.0_v01 Build 0.0.0.0)
- GE SFLD GPOUpdate 1.0 V01 (vge_sfld-gpoupdate_1.0_v01 Build 0.0.0.0)
- GE Tanium Health Check (v1.07)
- Genspect 2.5.31
- Genspect 2.5.31 (C:\Program Files (x86)\Genspect\)
- Google Chrome (v142.0.7444.177)
- Google Chrome 50 V01 (vgoogle_chrome_50_v01 Build 0.0.0.0)
- Google Chrome 73 V01 (vgoogle_chrome_73_v01 Build 0.0.0.0)
- InternetExplorer-SF8 (v1.0.0)
- IvoSoft ClassicShell 4.3.1 V01 (vivosoft_classicshell_4.3.1_v01 Build 0.0.0.0)
- Japan Fonts (v2.2)
- Java 8 Update 101 (v8.0.1010.13)
- Microsoft Access Runtime 2010 (vmicrosoft_access_2010_runtime_v1 Build 1.1.0.7)
- Microsoft Office 2007-2010 Compatibility Pack
- Microsoft Office 2010 Viewers (vmicrosoft_office_2010_viewers_v5 Build 1.1.0.9)
- Microsoft Office Access Runtime 2010 (v14.0.4763.1000)
- Microsoft Office Access Runtime MUI (English) 2010 (v14.0.4763.1000)
- Microsoft Office Excel Viewer (v12.0.6612.1000)
- Microsoft Office Office 64-bit Components 2010 (v14.0.4763.1000)
- Microsoft Office Shared 64-bit MUI (English) 2010 (v14.0.4763.1000)
- Microsoft Office Shared 64-bit Setup Metadata MUI (English) 2010 (v14.0.4763.1000)
- Microsoft Office Shared MUI (English) 2010 (v14.0.4763.1000)
- Microsoft Office Shared Setup Metadata MUI (English) 2010 (v14.0.4763.1000)
- Microsoft Office Word Viewer 2003 (v11.0.8173.0)
- Microsoft PowerPoint Viewer (v14.0.7015.1000)
- Microsoft Visual C++ 2005 Redistributable (v8.0.61001)
- Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 (v10.0.40219)
- Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219 (v10.0.40219)
- Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.21005 (v12.0.21005.1)
- Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.21005 (v12.0.21005)
- Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.21005 (v12.0.21005)
- Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23506 (v14.0.23506.0)
- Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23506 (v14.0.23506.0)
- Microsoft Visual C++ 2015 Run-Time (v14.0.23509)
- Microsoft Visual C++ 2015 x64 Additional Runtime - 14.0.23506 (v14.0.23506)
- Microsoft Visual C++ 2015 x64 Minimum Runtime - 14.0.23506 (v14.0.23506)
- Microsoft Visual C++ 2015 x86 Additional Runtime - 14.0.23506 (v14.0.23506)
- Microsoft Visual C++ 2015 x86 Minimum Runtime - 14.0.23506 (v14.0.23506)
- National Instruments Software
- NI Atomic PXIe Peripheral Module Driver 16.0.0 (v16.00.49152)
- NI Certificates 1.0.7 (v1.07.49153)
- NI Controller Driver 16.0 (v16.00.49152)
- NI Controller Driver 16.0 64-bit (v16.00.49152)
- NI Curl 16.0.0 (64-bit) (v16.0.100)
- NI Curl 2016 (v16.0.100)
- NI Error Reporting Interface 16.0 (v16.0.203)
- NI Error Reporting Interface 16.0 for Windows (64-bit) (v16.0.203)
- NI Ethernet Device Enumerator (v1.01.49152)
- NI Ethernet Device Enumerator 64-Bit (v1.01.49152)
- NI EulaDepot (v16.0.30)
- NI LabVIEW C Interface (v1.0.1)
- NI MDF Support (v16.0.180)
- NI mDNS Responder 16.0 for Windows 64-bit (v16.00.49152)
- NI mDNS Responder 16.0.0 (v16.00.49152)
- NI MXI Manager 16.0 (v16.00.49152)
- NI MXI Manager 16.0 64-bit (v16.00.49152)
- NI MXS 16.0.0 (v16.00.49152)
- NI MXS 16.0.0 for 64 Bit Windows (v16.00.49152)
- NI Physical Interface Extension Installer 15.0.0 (v15.00.49152)
- NI Physical Interface Extension Installer for 64-bit 15.0.0 (v15.00.49152)
- NI Portable Configuration 16.0.0 (v16.00.49152)
- NI Portable Configuration for 64 Bit Windows 16.0.0 (v16.00.49152)
- NI PXI Platform Framework 16.0.0 (v16.00.49152)
- NI PXI Platform Framework 16.0.0 64-bit (v16.00.49152)
- NI PXI Platform Services 16.0 Expert (v16.00.49152)
- NI PXI Platform Services Runtime 16.0 (v16.00.49152)
- NI PXI Platform Services Runtime 16.0 64-bit (v16.00.49152)
- NI RTSI Cable Core Installer 15.5.0 (v15.50.49152)
- NI RTSI Cable Core Installer for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI RTSI PAL Device Library Installer 15.5.0 (v15.50.49152)
- NI RTSI PAL Device Library Installer for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI Security Update (KB 67L8LCQW) (v1.0.29.0)
- NI Security Update (KB 67L8LCQW) (64-bit) (v1.0.29.0)
- NI Service Locator 2016 (v16.0.150)
- NI SSL Support (v16.0.181)
- NI SSL Support (64-bit) (v16.0.181)
- NI System API Windows 32-bit 16.0.0 (v16.0.183)
- NI System API Windows 64-bit 16.0.0 (v16.0.183)
- NI System Monitor 16.0 (v16.00.49152)
- NI System Monitor 16.0 64-bit (v16.00.49152)
- NI Uninstaller (v16.0.180)
- NI VC2008MSMs x64 (v9.0.401)
- NI VC2008MSMs x86 (v9.0.401)
- NI Xerces Delay Load 2.7.7 (v2.7.237)
- NI Xerces Delay Load 2.7.7 64-bit (v2.7.247)
- NI-APAL 15.1 64-Bit Error Files (v15.10.49152)
- NI-APAL 15.1 Error Files (v15.10.49152)
- NI-DAQmx 16.0.1 (v16.01.49152)
- NI-DAQmx 653x Installer 14.5.0 (v14.50.49152)
- NI-DAQmx 653x Installer for 64 Bit Windows 14.5.0 (v14.50.49152)
- NI-DAQmx Common Digital 15.5.0 (v15.50.49152)
- NI-DAQmx Common Digital for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI-DAQmx Dynamic Signal Acquisition for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI-DAQmx Dynamic Signal Acquisition Installer 15.5.0 (v15.50.49152)
- NI-DAQmx FSL Installer 15.5.0 (v15.50.49152)
- NI-DAQmx FSL Installer for 64-Bit Windows 15.5.0 (v15.50.49152)
- NI-DAQmx MIO Device Drivers 16.0.1 (v16.01.49153)
- NI-DAQmx MIO Device Drivers for 64 Bit Windows 16.0.1 (v16.01.49153)
- NI-DAQmx MX Expert Framework 16.0.0 (v16.00.49152)
- NI-DAQmx MX Expert Framework for 64 Bit Windows 16.0.0 (v16.00.49152)
- NI-DAQmx Remote Service 16.0.0 (v16.00.49152)
- NI-DAQmx Remote Service 64-bit 16.0.0 64-bit (v16.00.49152)
- NI-DAQmx SCXI 15.5.0 (v15.50.49152)
- NI-DAQmx SCXI for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI-DAQmx STC 15.5.0 (v15.50.49152)
- NI-DAQmx STC for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI-DAQmx Switch Core 15.1.0 (v15.10.49152)
- NI-DAQmx Switch Core for 64 Bit Windows 15.1.0 (v15.10.49152)
- NI-DAQmx Timing for 64 Bit Windows 15.5.0 (v15.50.49152)
- NI-DAQmx Timing Installer 15.5.0 (v15.50.49152)
- NI-DIM 16.0.0 (v16.00.49152)
- NI-DIM 16.0.0 for 64-bit Windows (v16.00.49152)
- NI-MDBG 16.0.0f0 (v16.00.49152)
- NI-MDBG 16.0.0f0 for 64 Bit Windows (v16.00.49152)
- NI-MRU 16.0.0 (v16.00.49152)
- NI-MRU 16.0.0 for 64-bit Windows (v16.00.49152)
- NI-MXDF 16.0.0f0 (v16.00.49152)
- NI-MXDF 16.0.0f0 for 64 Bit Windows (v16.00.49152)
- NI-MXLC Core (32-bit) (v16.0.34)
- NI-MXLC Core (64-bit) (v16.0.34)
- NI-ORB 16.0 (v16.00.49152)
- NI-ORB 16.0 for 64-bit Windows (v16.00.49152)
- NI-PAL 16.0 64-Bit Error Files (v16.00.49153)
- NI-PAL 16.0 Error Files (v16.00.49153)
- NI-PAL 16.0.0f1 (v16.00.49153)
- NI-PAL 16.0.0f1 for 64 Bit Windows (v16.00.49153)
- NI-PCI Bridge Driver 16.0 (v16.00.49152)
- NI-PCI Bridge Driver 16.0 64-bit (v16.00.49152)
- NI-PXIPF Error 15.0.5 (v15.05.49152)
- NI-PXIPF Error 15.0.5 for 64-bit Windows (v15.05.49152)
- NI-QPXI 16.0.0 (v16.00.49152)
- NI-QPXI 16.0.0 for 64-bit Windows (v16.00.49152)
- NI-RIO USBLAN 16.0 (v16.00.49152)
- NI-RIO USBLAN 16.0 (64-bit) (v16.00.49152)
- NI-RoCo Error Files 16.0.0 (v16.00.49152)
- NI-ROCO Error Files 16.0.0 for 64-bit Windows (v16.00.49152)
- NI-RPC 16.0.0f0 (v16.00.49152)
- NI-RPC 16.0.0f0 for 64 Bit Windows (v16.00.49152)
- NI-RPC 16.0.0f0 for Phar Lap ETS (v16.00.49152)
- NI-Xlator 16.0.0f0 (v16.00.49152)
- NI-Xlator 16.0.0f0 for 64 Bit Windows (v16.00.49152)
- NOMS (v1.0.0)
- Npcap OEM (v1.10)
- NVIDIA Control Panel 388.73 (v388.73)
- NVIDIA Display Container (v1.2)
- NVIDIA Display Container LS (v1.2)
- NVIDIA Display Session Container (v1.2)
- NVIDIA Display Watchdog Plugin (v1.2)
- NVIDIA Install Application (v2.1002.259.2253)
- OpenText HostExplorer 15 x64 (v15.0.0)
- OpenText HostExplorer SP1 15.0 V01 (vopentext_hostexplorer_sp1_15.0_v01 Build 0.0.0.0)
- Oracle JavaRuntimeEnvironment 8u101 V01 (voracle_javaruntimeenvironment_8u101_v01 Build 0.0.0.0)
- Oracle OracleDatabase 11r2 V03 (voracle_oracledatabase_11r2_v03 Build 0.0.0.0)
- PCIe to Peripheral Adaptorio (v3.0.0.0)
- RealVNC Connect 6.0.1 V03 (vrealvnc_connect_6.0.1_v03 Build 0.0.0.0)
- Security Update for Microsoft Office 2010 (KB2289078)
- Security Update for Microsoft Office 2010 (KB2553091)
- Security Update for Microsoft Office 2010 (KB2553371) 32-Bit Edition
- Security Update for Microsoft Office 2010 (KB2553447) 32-Bit Edition
- Security Update for Microsoft Office 2010 (KB2584066)
- Security Update for Microsoft Office 2010 (KB2589320) 32-Bit Edition
- Security Update for Microsoft Office 2010 (KB2598243) 32-Bit Edition
- Security Update for Microsoft SharePoint Workspace 2010 (KB2566445)
- Splunk UniversalForwarder-Vault 6.3.5-x64 V01 (vsplunk_universalforwarder-vault_6.3.5-x64_v01 Build 0.0.0.0)
- Tanium Client 7.4.7.1179 (v7.4.7.1179)
- UniversalForwarder (v6.3.5.0)
- VNC Server 6.0.1 (v6.0.1.23971)
- VNC Viewer 6.0.1 (v6.0.1.23971)
- Vulkan Run Time Libraries 1.0.65.1 (v1.0.65.1)
Loaded 9 enabled applications from CSV
Matched: eDNC (ID:8) = eDNC 6.1.4 v6.1.4
Matched: OpenText (ID:22) = OpenText HostExplorer 15 x64 v15.0.0
Skipping duplicate: OpenText (ID:22) = OpenText HostExplorer SP1 15.0 V01
Matched: Oracle (ID:7) = Oracle OracleDatabase 11r2 V03 voracle_oracledatabase_11r2_v03 Build 0.0.0.0
Matched: Tanium (ID:30) = Tanium Client 7.4.7.1179 v7.4.7.1179
Found 4 tracked applications for database
Running processes:
armsvc, backgroundTaskHost, certutil, chrome, ClassicStartMenu, cmd, conhost, cscript, csrss, dllhost, drvinst, dwm, explorer, F5CredMgrSrv, F5FltSrv, F5InstallerService, F5TrafficSrv, Idle, igfxCUIService, igfxEM, IntelCpHDCPSvc, IntelCpHeciSvc, lsass, Memory Compression, MpCmdRun, MSASCuiL, msdtc, MsMpEng, MyTech.AssetAgent, NetworkAdapterManager, niDAQmxRemoteService, nidevldu, nimdnsResponder, nimxs, nipxism, NisSrv, nisvcloc, NVDisplay.Container, powershell, PresentationFontCache, proxyhelper, reg, RemindersServer, RuntimeBroker, SchTasks, SearchFilterHost, SearchIndexer, SearchProtocolHost, SearchUI, services, setup, ShellExperienceHost, sihost, smartscreen, smss, splunkd, splunk-winevtlog, spoolsv, svchost, System, TaniumClient, TaniumCX, TaniumDriverSvc, taskhostw, TCPClientCom, vncagent, vncserver, vncserverui, WavesSysSvc64, wininit, winlogon, wlanext, WmiPrvSE, wscript, WUDFHost
System Details:
Hostname: G3ZM5SZ2ESF
Manufacturer: Dell Inc.
Model: OptiPlex 5060
Serial: 3ZM5SZ2
PC Type: Keyence
User: lg672650sd
Memory: 7.8 GB
OS: Microsoft Windows 10 Enterprise 2016 LTSB
=== STEP 2: COLLECT SHOPFLOOR INFO ===
=== STEP 3: WARRANTY DATA ===
Warranty lookups disabled - Dashboard will handle warranty updates
PCs cannot reach proxy server from this network
=== STEP 4: STORE IN DATABASE ===
Sending complete asset data to dashboard...
Dashboard URL: https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp
No ShopfloorInfo available
No installed applications to send
[OK] Complete asset data stored in database!
PCID: Unknown
Updated/Created: Unknown
Records affected: Unknown
=== STEP 5: PRINTER MAPPING ===
Collecting default printer information...
No default printer found or no port available
No printer FQDN to send - skipping printer mapping
=== STEP 6: APPLICATION MAPPING ===
Sending tracked applications to dashboard...
Hostname: G3ZM5SZ2ESF
Tracked Apps: 4
-> appid=8, appname='eDNC', version='6.1.4'
-> appid=22, appname='OpenText', version='15.0.0'
-> appid=7, appname='Oracle', version='oracle_oracledatabase_11r2_v03 Build 0.0.0.0'
-> appid=30, appname='Tanium', version='7.4.7.1179'
DEBUG JSON: [{"appid":8,"appname":"eDNC","version":"6.1.4","displayname":"eDNC 6.1.4"},{"appid":22,"appname":"OpenText","version":"15.0.0","displayname":"OpenText HostExplorer 15 x64"},{"appid":7,"appname":"Oracle","version":"oracle_oracledatabase_11r2_v03 Build 0.0.0.0","displayname":"Oracle OracleDatabase 11r2 V03"},{"appid":30,"appname":"Tanium","version":"7.4.7.1179","displayname":"Tanium Client 7.4.7.1179"}]
[OK] Installed applications updated successfully!
Apps Processed: 4
Machine ID: 5796
=== STEP 7: WINRM CONFIGURATION ===
Resetting WinRM configuration...
Checking network profile...
Interface 'logon.ds.ge.com': DomainAuthenticated
Checking for machine network interfaces...
Checking domain trust relationship...
[OK] Domain trust relationship is healthy
[OK] All network profiles are Private/Domain
Stopping WinRM service...
WinRM service stopped
Removing existing WinRM listeners...
Existing listeners removed
Starting WinRM service...
WinRM service started and set to Automatic
Running WinRM quickconfig...
WinRM quickconfig completed
Creating HTTP listener on port 5985...
HTTP listener already exists
Configuring WinRM authentication settings...
Auth: Basic=false, Negotiate=true, Kerberos=true, CredSSP=false
WARNING: The updated configuration might affect the operation of the plugins having a per plugin quota value greater
than 1024. Verify the configuration of all the registered plugins and change the per plugin quota values for the
affected plugins.
MaxMemoryPerShellMB set to 1024
Enabling LocalAccountTokenFilterPolicy...
LocalAccountTokenFilterPolicy enabled
Configuring WinRM security descriptor...
Current SDDL: O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
PSRemoting enabled
Restarting WinRM service to apply changes...
WinRM service restarted
Configuring firewall rule...
Firewall rule 'Windows Remote Management (HTTP-In)' enabled
Verifying WinRM listener...
[OK] WinRM HTTP listener configured on port 5985
[OK] Port 5985 is listening
=== STEP 8: WINRM ADMIN GROUP ===
Configuring WinRM access groups...
Target group: logon\g03078610
Checking local Administrators group...
Current Administrators members: W9_Root, Domain Admins, 210046491, g01127734, g01127722, DEL_GE000000000_GE001000000_WKS_ADMINS_US, W10_ShopAdmin, DEL_GE000000000_GE006000000_WKS_ADMINS_US, g01127752, g01127746
Adding logon\g03078610 to Administrators...
[OK] Added logon\g03078610 to Administrators
Checking Remote Management Users group...
Current Remote Management Users members:
Adding logon\g03078610 to Remote Management Users...
[OK] Added logon\g03078610 to Remote Management Users
=== COMPLETE ASSET UPDATE SUCCESS ===
Computer: G3ZM5SZ2ESF
Type: Keyence
Serial: 3ZM5SZ2
Data Collected & Stored:
[OK] Basic system information
[--] Default printer mapping (no printer found)
[OK] Application mapping (4 tracked apps)
[OK] WinRM HTTP listener (port 5985)
Note: If remote access still fails, a reboot may be required
[OK] WinRM admin group (logon\g03078610)
[OK] Complete PC asset collection finished!
All data stored in database via dashboard API.
Log file: S:\DT\cameron\scan\logs\Update-PC-CompleteAsset-2025-12-05.log
=== Script completed ===
Exit code: 0
End time: Fri 12/05/2025 12:53:17.87