Files
shopdb/scripts/logs/CompleteAsset-G4B48FZ3ESF-2025-12-05_13-40-48.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

297 lines
17 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. 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 13:40:48.50
Computer: G4B48FZ3ESF
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: G4B48FZ3ESF
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] Formtracepak detected - Wax Trace PC
Skipping application detection (PC Type: Wax Trace)
Collecting installed applications...
Found 138 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)
- AMD Software (v22.20.18.06)
- 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)
- Formtracepak
- 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)
- Google Chrome (v143.0.7499.40)
- Google Chrome 50 V01 (vgoogle_chrome_50_v01 Build 0.0.0.0)
- Google Endpoint Verification (v2.11.28)
- Google Legacy Browser Support (v8.1.0.0)
- Herramientas de correcci¢n de Microsoft Office 2016: espa¤ol (v16.0.4266.1001)
- 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 MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Access Runtime 2016 (v16.0.4288.1001)
- Microsoft Access Runtime MUI (English) 2016 (v16.0.4288.1001)
- Microsoft Access Setup Metadata MUI (English) 2016 (v16.0.4266.1001)
- Microsoft ASP.NET MVC 2 (v2.0.60926.0)
- Microsoft DCF MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Edge (v142.0.3595.94)
- Microsoft Edge WebView2 Runtime (v142.0.3595.94)
- Microsoft Excel MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Groove MUI (English) 2016 (v16.0.4266.1001)
- Microsoft InfoPath MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Office 2007-2010 Compatibility Pack
- Microsoft Office 2010 Viewers (vmicrosoft_office_2010_viewers_v5 Build 1.1.0.9)
- Microsoft Office 2016 x86 MSI 16.0.4266.1001 V04 (vmicrosoft_office2016x86-msi_16.0.4266.1001_v04 Build 0.0.0.0)
- Microsoft Office 64-bit Components 2016 (v16.0.4288.1001)
- Microsoft Office Excel Viewer (v12.0.6219.1000)
- Microsoft Office OSM MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Office OSM UX MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Office Professional Plus 2016 (v16.0.4266.1001)
- Microsoft Office Proofing (English) 2016 (v16.0.4266.1001)
- Microsoft Office Proofing Tools 2016 - English (v16.0.4266.1001)
- Microsoft Office Shared 64-bit MUI (English) 2016 (v16.0.4288.1001)
- Microsoft Office Shared 64-bit Setup Metadata MUI (English) 2016 (v16.0.4288.1001)
- Microsoft Office Shared MUI (English) 2016 (v16.0.4288.1001)
- Microsoft Office Shared Setup Metadata MUI (English) 2016 (v16.0.4288.1001)
- Microsoft Office Word Viewer 2003 (v11.0.8173.0)
- Microsoft OneNote MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Outlook MUI (English) 2016 (v16.0.4266.1001)
- Microsoft PowerPoint MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Publisher MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Skype for Business MUI (English) 2016 (v16.0.4266.1001)
- Microsoft Visual C++ 2005 Redistributable (v8.0.56336)
- Microsoft Visual C++ 2008 Redistributable - x64 9.0.21022 (v9.0.21022)
- Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 (v9.0.30729)
- Microsoft Visual C++ 2017 Redistributable (x64) - 14.15.26706 (v14.15.26706.0)
- Microsoft Visual C++ 2017 Redistributable (x86) - 14.15.26706 (v14.15.26706.0)
- Microsoft Visual C++ 2017 x64 Additional Runtime - 14.15.26706 (v14.15.26706)
- Microsoft Visual C++ 2017 x64 Minimum Runtime - 14.15.26706 (v14.15.26706)
- Microsoft Visual C++ 2017 x86 Additional Runtime - 14.15.26706 (v14.15.26706)
- Microsoft Visual C++ 2017 x86 Minimum Runtime - 14.15.26706 (v14.15.26706)
- Microsoft Word MUI (English) 2016 (v16.0.4266.1001)
- NOMS (v1.0.0)
- OpenText Host Explorer - ShopFloor 15 SP1 V01 (vopentext_hostexplorer-shopfloor_15sp1_v01 Build 0.0.0.0)
- OpenText HostExplorer 15 x64 (v15.0.1)
- 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)
- Outils de vrification linguistique 2016 de Microsoft Officeÿ- Fran‡ais (v16.0.4266.1001)
- RealVNC Connect 6.0.1 V03 (vrealvnc_connect_6.0.1_v03 Build 0.0.0.0)
- Security Update for Microsoft Access 2016 (KB5002720) 32-Bit Edition
- Security Update for Microsoft Excel 2016 (KB5002794) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB2920704) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB2920727) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB3085538) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB3114690) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB3191869) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB3213551) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4011574) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4022176) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4462148) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4464583) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4475581) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4475587) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4484103) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB4484432) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5001941) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002341) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002573) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002576) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002616) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002719) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002757) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002762) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002766) 32-Bit Edition
- Security Update for Microsoft Office 2016 (KB5002792) 32-Bit Edition
- Security Update for Microsoft OneNote 2016 (KB5002622) 32-Bit Edition
- Security Update for Microsoft Outlook 2016 (KB5002683) 32-Bit Edition
- Security Update for Microsoft PowerPoint 2016 (KB5002790) 32-Bit Edition
- Security Update for Microsoft Project 2016 (KB5002652) 32-Bit Edition
- Security Update for Microsoft Publisher 2016 (KB5002566) 32-Bit Edition
- Security Update for Microsoft Visio 2016 (KB5002634) 32-Bit Edition
- Security Update for Microsoft Word 2016 (KB5002789) 32-Bit Edition
- Tanium Client 7.4.7.1179 (v7.4.7.1179)
- Update for Microsoft Office 2016 (KB2920678) 32-Bit Edition
- Update for Microsoft Office 2016 (KB2920717) 32-Bit Edition
- Update for Microsoft Office 2016 (KB2920720) 32-Bit Edition
- Update for Microsoft Office 2016 (KB2920724) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3114524) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3114903) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3115081) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3118262) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3118263) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3118264) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3191929) 32-Bit Edition
- Update for Microsoft Office 2016 (KB3213650) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4011035) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4011259) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4011621) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4011629) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4011634) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4022193) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4032254) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4464587) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4484104) 32-Bit Edition
- Update for Microsoft Office 2016 (KB4484145) 32-Bit Edition
- Update for Microsoft Office 2016 (KB5002050) 32-Bit Edition
- Update for Microsoft Office 2016 (KB5002251) 32-Bit Edition
- Update for Microsoft Office 2016 (KB5002466) 32-Bit Edition
- Update for Microsoft Office 2016 (KB5002623) 32-Bit Edition
- Update for Microsoft OneDrive for Business (KB4022219) 32-Bit Edition
- Update for Microsoft Visio Viewer 2016 (KB2920709) 32-Bit Edition
- Update for Skype for Business 2016 (KB5002567) 32-Bit Edition
- VNC Server 6.0.1 (v6.0.1.23971)
- VNC Viewer 6.0.1 (v6.0.1.23971)
- Windows Driver Package - Mitutoyo Corporation (WinUSB) USB (01/01/2016 1.0.0.0) (v01/01/2016 1.0.0.0)
- Windows Driver Package - Mitutoyo Corporation (WinUSB) USB (01/26/2014 1.0.0.0) (v01/26/2014 1.0.0.0)
- Windows Driver Package - Mitutoyo Corporation (WinUSB) USB (03/26/2012 6.1.7600.16385) (v03/26/2012 6.1.7600.16385)
Loaded 9 enabled applications from CSV
Matched: FormTracePak (ID:68) = Formtracepak v
Matched: OpenText (ID:22) = OpenText Host Explorer - ShopFloor 15 SP1 V01 vopentext_hostexplorer-shopfloor_15sp1_v01 Build 0.0.0.0
Skipping duplicate: OpenText (ID:22) = OpenText HostExplorer 15 x64
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:
AggregatorHost, amdfendrsr, armsvc, atieclxx, atiesrxx, backgroundTaskHost, ClassicStartMenu, cmd, conhost, cscript, csrss, ctfmon, dllhost, dwm, explorer, F5CredMgrSrv, F5FltSrv, F5InstallerService, F5TrafficSrv, fontdrvhost, Idle, IntelCpHDCPSvc, ipf_helper, ipf_uf, jhi_service, LMS, lsass, Memory Compression, MpDefenderCoreService, msdtc, msedge, MsMpEng, MTA.Controller, mytechassistant, NetworkAdapterManager, NisSrv, noms_agent, OneApp.IGCC.WinService, pacjsworker, powershell, Registry, RtkAudUService64, RtkBtManServ, rundll32, RuntimeBroker, SchTasks, SearchApp, SearchFilterHost, SearchIndexer, SearchProtocolHost, SecurityHealthService, SecurityHealthSystray, services, sihost, smartscreen, smss, spoolsv, sppsvc, StartMenuExperienceHost, svchost, System, TaniumClient, TaniumCX, TaniumDriverSvc, taskhostw, TbtP2pShortcutService, TCPClientCom, TextInputHost, unsecapp, userinit, UserOOBEBroker, vncagent, vncserver, vncserverui, WavesAudioService, WavesSvc64, WavesSysSvc64, WDTRpcServer, wininit, winlogon, WmiPrvSE, WMIRegistrationService, WUDFHost
System Details:
Hostname: G4B48FZ3ESF
Manufacturer: Dell Inc.
Model: OptiPlex Tower Plus 7010
Serial: 4B48FZ3
PC Type: Wax Trace
User: lg672650sd
Memory: 15.7 GB
OS: Microsoft Windows 10 Enterprise LTSC
=== 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...
Default Printer: Microsoft Print to PDF
Port Name: PORTPROMPT:
[SKIP] Local/virtual printer detected (port: PORTPROMPT:) - not sending to database
No printer FQDN to send - skipping printer mapping
=== STEP 6: APPLICATION MAPPING ===
Sending tracked applications to dashboard...
Hostname: G4B48FZ3ESF
Tracked Apps: 4
-> appid=68, appname='FormTracePak', version=''
-> appid=22, appname='OpenText', version='opentext_hostexplorer-shopfloor_15sp1_v01 Build 0.0.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":68,"appname":"FormTracePak","version":null,"displayname":"Formtracepak"},{"appid":22,"appname":"OpenText","version":"opentext_hostexplorer-shopfloor_15sp1_v01 Build 0.0.0.0","displayname":"OpenText Host Explorer - ShopFloor 15 SP1 V01"},{"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: 5762
=== 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)
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, S-1-5-21-3672398596-3227583511-885490141-3021858, g01127734, g01127722, DEL_GE000000000_GE001000000_WKS_ADMINS_US, W10_ShopAdmin
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: G4B48FZ3ESF
Type: Wax Trace
Serial: 4B48FZ3
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 13:41:13.66