Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WSH GetObject method not working in Windows PE using Windows 2003 SP1

Featured Replies

I'm trying to get the current IP address of the machine so that I can use it to determine our site location. Oddly enough, when I use my PE build based on WinXP SP2, the code runs fine. When I try the same code using the Win2003 SP1 source, it fails.

Is there something else besides the /WMI switch during the mkimg.cmd that I have to include

It fails on the following line:

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

The error message is:

error '800401e4'

Invalid syntax

Works here with 2003SP1 and pe2005.

I dont know if you have declared your computername properly but i would do

Set objwmiservice = GetObject("winmgmts:\\.\root\cimv2")

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.