MIDFilePermEnforcer issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2020 09:25 PM
Hello, I am trying to install Mid server in windows system. Mid server connection and configuration is successful, but when I open up mid server list page it is showing empty. Please help!!
Getting this Mid server issue:
An unexpected error occurred: Write-Warning : The Win32 internal error "No process is on the other end of
the pipe" 0xE9 occurred while getting console output buffer information.
Contact Microsoft Customer Support Services.
At C:\win_demo\agent\bin\scripts\EnforceFilePermissions.psm1:92 char:9
+ Write-Warning "Could not disable file permission inheritance ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Write-Warning],
HostException
+ FullyQualifiedErrorId :
GetConsoleScreenBufferInfo,Microsoft.PowerShell.Commands.WriteWarningCommand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 02:45 PM
Anything in the wrapper or agent log that can provide additional details?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 10:17 PM
Hello doug.schulza,
Logs in wrapper file under agent folder showing:
Waiting to start...
2020/07/24 13:54:16 | ServiceNow MID Server service started.
2020/07/24 13:54:45 | Exception in thread "StartupSequencer" java.lang.IllegalStateException: Power console has been closed.
2020/07/24 13:54:45 | at com.service_now.mid.win.powershell.api.PowerConsole.execute(PowerConsole.java:211)
2020/07/24 13:54:45 | at com.service_now.mid.win.powershell.api.PowerConsole.execute(PowerConsole.java:156)
2020/07/24 13:54:45 | at com.service_now.mid.win.powershell.api.APowershellSession.executeWithoutResultExtraction(APowershellSession.java:350)
2020/07/24 13:54:45 | at com.service_now.mid.win.powershell.api.APowershellSession.execute(APowershellSession.java:330)
2020/07/24 13:54:45 | at com.service_now.mid.Instance.getCurrentWinServiceName(Instance.java:1104)
2020/07/24 13:54:45 | at com.service_now.mid.services.StartupSequencer.ensureUniqueWindowsService(StartupSequencer.java:149)
2020/07/24 13:54:45 | at com.service_now.mid.services.StartupSequencer.testsSucceeded(StartupSequencer.java:128)
2020/07/24 13:54:45 | at com.service_now.mid.services.StartupSequencer.access$300(StartupSequencer.java:84)
2020/07/24 13:54:45 | at com.service_now.mid.services.StartupSequencer$Starter.run(StartupSequencer.java:532)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2020 08:13 AM
Did you get a resolution on this? I have the same problem.
---------------------------------------
An unexpected error occurred: Get-WmiObject : Invalid class "win32_service"
At D:\OUR-MID-NAME\mid.madrid-12-18-2018__patch4-05-29-2019_06-05-2019_1042.windows.x86-64\agent\bin\scripts\EnforceFilePermissions.psm1:214 char:16
+ ... $service = Get-WmiObject "win32_service" -filter "Name='$serviceName ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidType: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 04:19 AM
Hii Todd,
I got this issue resolved when I followed the same steps of mid server installation in New York version instance.