Skip to main content

Questions tagged [xml]

Extensible Markup Language

Filter by
Sorted by
Tagged with
13 votes
2 answers
28k views

How to filter windows event log with wildcard?

According to the document here, the asterisk wildcard is supported and hence it should work in eg. *[EventData[Data[@Name='TargetUserName'] ='User1*']] but I cannot get any wildcard filter to work - ...
A_L's user avatar
  • 233
9 votes
2 answers
21k views

Logstash parsing xml document containing multiple log entries

I'm currently evaluating whether logstash and elasticsearch are useful for our use-case. What I have is a log file containing multiple entries which is of the form <root> <entry> ...
dualed's user avatar
  • 408
9 votes
2 answers
6k views

IIS 7.5 (Express) applicationhost.config: Can a virtualDirectory's physicalPath be a relative path?

I'm configuring a site in applicationhost.config for IIS 7.5 Express: <site name="default" id="1" serverAutoStart="true"> <application path="/"> <virtualDirectory path="/" ...
stakx's user avatar
  • 195
8 votes
3 answers
3k views

Is it possible to create a generalized configuration file for installing Windows features using PowerShell?

I'm currently trying to automate the build of a VM running Windows Server 2012 R2. At the moment the challenge is automating the addition of roles and features. Within the roles and features wizard ...
swimming_dolpin123's user avatar
8 votes
5 answers
19k views

Utility to LOGICALLY compare two xml files?

Right now we are attempting to build gold configurations for our environment. One piece of software that we use relies on large XML files to contain the bulk of its configuration. We want to take our ...
Matthew's user avatar
  • 2,747
6 votes
3 answers
32k views

Event Log > Filter Current Log > XML > where EventData contains text

I'm trying to search through the windows event log for anything where the event data contains the string TCP Provider, error: 0 as part of a longer error message. To do this I created the code below: ...
JohnLBevan's user avatar
  • 1,344
6 votes
6 answers
17k views

Permanently removing Microsoft XPS Document Writer pseudoprinter object?

For reasons unknown, a great many of the (Windows XP SP3) computers I manage have recently started creating a new pseudoprinter object, called Microsoft XPS Document Writer, seemingly out of nowhere. ...
eleven81's user avatar
  • 417
6 votes
1 answer
17k views

Open .xml attachments in "default program" instead of Internet Explorer

Disclaimer I posted this question on Super User without any responses, but I am working on a domain and want to change many computers as an administrator, so I believe it is also on topic here. ...
thunderblaster's user avatar
6 votes
1 answer
8k views

Windows 7 unattended install and disk/partition wiping

Im currently having a problem when trying to setup an unattended install of windows 7. When the hard drive has no partitions the install goes fine. However if the hard drive has any existing ...
Chris's user avatar
  • 61
5 votes
1 answer
19k views

PHP 5.6 undefined function xml_parser_create

I have a new php 5.6 installation and get the following error from my application: Fatal error: Call to undefined function xml_parser_create() But libxml seems to be OK? phpinfo about libxml is: ...
Andrea Schmuttermair's user avatar
5 votes
2 answers
20k views

update XML from the command line [windows]

I have a few applications which store their config files in XML format. For a regular application, using a text based config, I could update a value easily enough by using perl, or sed, or awk, or any ...
Mikeage's user avatar
  • 2,741
4 votes
4 answers
5k views

Output directory tree as XML

HI all, Is there a linux command which will output the structure of a given directory as XML? if there is, that would be awesome. Thanks very much
Jamie's user avatar
  • 213
4 votes
3 answers
9k views

Replacing a string in an XML with Powershell causes MALFORMED XML

I have a rather large XML file that I need to replace some connection strings within. I use the following code to replace the strings: $temp = Get-Content .\bigxmlfile.xml $temp.replace("STRING1","...
JustAGuy's user avatar
  • 649
4 votes
1 answer
13k views

how to force Nginx to override header?

I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text. I tried to override content type with below configuration but it didn't help. ...
Hasan Teoman Tıngır's user avatar
4 votes
1 answer
1k views

Modify MDT wizard to automate computer naming

Situation: I am imaging new systems using MDT Lite-Touch. I am trying to customize the wizard to automate the naming of new systems so that they include a prefix "AG-", a department code which ...
Jeramy's user avatar
  • 193
3 votes
3 answers
8k views

Working with Event Logs in Powershell

I have trying to analyze records from the Windows Security log and having a bit of difficulty getting specific values out of some of the logon/logoff events. Let's take a look at a specific example - ...
pk.'s user avatar
  • 6,501
3 votes
1 answer
5k views

Installing XML::Parser, but it dies due to Expat dependency

I'm trying to install XML::Parser, but for some reason it's failing: cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for x86_64-linux-gnu-thread-multi Work directory is /root/.cpanm/work/...
Andrew Newby's user avatar
  • 1,184
3 votes
3 answers
2k views

Retrieve MS SQL database or table structure in XML

Is there a way to export the database schema in well formed XML of a MS 2000 SQL Server. I'm looking for just the structure not the data and the more detailed the better. The XML may be used in a ...
Clutch's user avatar
  • 970
3 votes
2 answers
2k views

Open Source XML Firewalls? [closed]

Does anyone know of any open source XML firewalls that provide equivalent functionality to DataPower, Vordel, etc?
3 votes
0 answers
6k views

How to filter ObjectName in Windows logs with Advanced XML Filtering?

I want to deploy a centralized log analysis tool on my domain. I'm currently configuring Windows to audit a shared network drive (read, write, access attempt of domain users) to forward Windows events ...
Aexyn's user avatar
  • 31
2 votes
4 answers
15k views

Ok to edit task's xml file in c:\windows\system32\Tasks?

I wrote a PowerShell script that check the executable in the < action > tag for each task in the Task directory and mark the < enabled >TRUEorFALSE< / enabled > tag as false/true depending on ...
Eyad's user avatar
  • 133
2 votes
3 answers
13k views

Debugging UPnP / DLNA via Wireshark

Is there any way to parse / interpret the XMLs sent as part of a DLNA / UPnP using Wireshark, or any other network sniffer? I can get the raw packets, but it would be nice to see them parsed, to make ...
Mikeage's user avatar
  • 2,741
2 votes
1 answer
4k views

CLI command to update simple XML file

I would like to programmatically update a string in a very simple XML config file, such as this: <?xml version="1.0"?> <x> <z>should be changed</z> </x> <y> ...
Willem's user avatar
  • 2,942
2 votes
1 answer
20k views

Possible to set ComputerName in Unattend.xml with script?

I have been told that it is possible to run Powershell directly from the Unattend.xml during an OS install. I am trying to set the ComputerName to (A + "SerialNumber") but not matter how I write the ...
user001's user avatar
  • 125
2 votes
1 answer
7k views

SHIBBOLETH SP - Shibboleth handler invoked at an unconfigured location - Shibboleth.sso/Session/

I am trying to get shibboleth configured. When I go to https://mysite/secure/index.php, it works properly, I can authenticate, etc. but when I go to https://mysite/Shibboleth.sso/Status (or any other ...
Kevin Finkenbinder's user avatar
2 votes
1 answer
145 views

Are Exchange ActiveSync .xsd schemas available outside of documentation? [closed]

I'm working on an ActiveSync email client application (on Android, not that it matters). I would like to be able to write unit tests that validate the client's WBXML requests against Microsoft's ...
Dalbergia's user avatar
  • 123
2 votes
1 answer
2k views

How to activate Windows 7 using sysprep unattend.xml?

How can one activate Windows 7 deployed via an image through SysPrep using an unattend.xml file? This is the code I've written so far: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns=...
AceHigh's user avatar
  • 23
2 votes
1 answer
174 views

SharePoint Versioning for Office 2007 File Formats

Given the fact that Office 2007 document formats (.docx, .xlsx, .pptx, etc) are entirely XML based, why did Microsoft not build in the ability to store only the 'diff' changes when using the ...
pk.'s user avatar
  • 6,501
2 votes
1 answer
2k views

Filter Windows Event Security logs by a range of Source IP Address

So i know you could filter by a Source IP Address. But what if you want to filter by a range of Source IP address. i tried <QueryList> <Query Id="0" Path="Security"> <Select ...
Troubled's user avatar
2 votes
1 answer
531 views

Templating firewalld zones with ansible - issue with xml manipulation

With ansible 2.9 on RHEL7.6 I'm trying to configure individual firewalld zones which also includes configuration of rich rules. It all works fine, except when I'm trying to template adding a rich rule ...
JaneD's user avatar
  • 65
2 votes
1 answer
812 views

IIS 7.5 deployment's issue - WebApp won't load

Recently, I've been working on a new WebApplication (c# asp.net MVC 4 with VS 2013) and now is time to deploy it on my company's server (WS 2008 R2 SP1). The project is working fine under Visual ...
MTEDField's user avatar
2 votes
2 answers
1k views

How to correctly show WCAT Fiddler results?

Using the WCAT Fiddler extension, I managed to get an XML result file being generated, but unfortunately I failed in having it displayed correctly with the XSL being applied. According to the authors ...
Uwe Keim's user avatar
  • 2,460
2 votes
1 answer
2k views

Enable DOM/XML on Centos 6.3

After some research from our team and trial and errors, we we're not able to make '--disable-dom' dissapear from the phpinfo. I've tried to reinstall php-xml but I got the following message: Package ...
newpoison's user avatar
  • 123
2 votes
2 answers
15k views

WDS: what's wrong with my unattend.xml?

Am stuck at the "Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing ...
ethrbunny's user avatar
  • 2,379
2 votes
1 answer
543 views

Amazon S3 Redirect

Is there a way to redirect your domain which you are pointing towards S3 to your home pages? Like I am hosting my videos on Amazon S3 but if someone try to access the my s3.mywebsite.com it result in ...
user avatar
2 votes
0 answers
2k views

Getting all physical drive data via HP iLo 5 locfg (XML)

I'm creating a tool in golang to parse the XML returned from approx 150 HPE DL360 Gen 10 servers, and then send over to ElasticSearch. However, I'm finding discrepancies in the data depending on the ...
Craig Champion's user avatar
2 votes
1 answer
842 views

Windows 10 provisioning package applied but not working

I set up a simple provisioning package for a multi-app kiosk in Windows 10 Pro 1803. The package installs without any visible errors, but when I login with the specified user none of my changes took. ...
Justin Lee's user avatar
2 votes
1 answer
336 views

Need a .ps1 command to run at user login via GPO

How do I get the following command to run at user login (users don't have local admin privileges) via GPO (or some other way) to add VPN connection Add-VpnConnection -Name "VPN" -ServerAddress "vpn....
Hardcore Hartley's user avatar
2 votes
0 answers
238 views

Pass null arguments in an scheduled task xml file

I am trying to run a batch file when some specific events occurs and I want to pass some null arguments to one of my tasks. The problem is that I don't know how. I have tried a lot of combinations ...
Pandoranum's user avatar
2 votes
0 answers
304 views

msinfo32 /nfo emits XML with translated tags

I'm working on some system data collection tools for an application I'm involved in supporting, and have run into an exciting wrinkle. I wanted to capture an msinfo32 /nfo report as part of the ...
Craig Ringer's user avatar
  • 11.3k
2 votes
0 answers
946 views

Upgrading to Java 7u65 breaks my Deployment Rule Set for Oracle applications

My company uses an older version of an Oracle application that requires Java 6u45. Naturally we want to be secure, so we use a Deployment Rule Set to specify 6u45 for that internal application and let ...
Don Atreides's user avatar
1 vote
3 answers
13k views

HP ILO 3 gives XML syntax errors with hponcfg utility

I have an HP ProLiant DL360 G7 server running VMWare ESX 4.1. The system board on the server was changed months ago following a lightning strike at the facility. The HP technician reprogrammed the ...
ewwhite's user avatar
  • 199k
1 vote
2 answers
353 views

How can I install php53u-xml package (CentOS)?

How can I install php53u-xml package (CentOS)? Is there still a repository where this package is available? I cannot find this package nowhere. Info about one of installed packages: [root@us03659 ~]...
romvlads's user avatar
1 vote
1 answer
4k views

Windows Server Blocking Web Service?

I have a program that uses a webservice that connects to a server to get software licenses. This is blocked in Windows Server 2003, 2008, 2008 R2, 2012, 2012 R2 by default. However, in Windows XP, ...
Peter's user avatar
  • 309
1 vote
2 answers
5k views

Getting 403 forbidden on all xml files on my server

I recently moved a site to a new server where the server configuration is not allowing access to xml files: [error] client denied by server configuration: /var/www/website/test.xml After further ...
Francis's user avatar
  • 113
1 vote
2 answers
65 views

UNIX tool to dump a selection of HTML?

I'm looking to monitor changes on websites and my current approach is being defeated by a rotating top banner. Is there a UNIX tool that takes a selection parameter (id attribute or XPath), reads HTML ...
jldugger's user avatar
  • 14.5k
1 vote
2 answers
7k views

How to Make JBoss 5.1.0 GA Meet Diffie-Hellman Standards?

As non-experts on web server administration and security, we are struggling to update our JBoss 5.1.0 GA web server configuration to meet Diffie-Hellman standards. JBoss was installed for us as part ...
user2072931's user avatar
1 vote
2 answers
984 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="...
kenorb's user avatar
  • 6,827
1 vote
2 answers
2k views

Trying to filter AccessList = %%1537 in event viewer :/

I've got file auditing enabled and I'd like to be able to filter for a given user action. I have set up an XML filter that's pretty basic, but I can't seem to get it to work. I've got it working with ...
Justin's user avatar
  • 167
1 vote
1 answer
3k views

Unable to display nginx custom 403

Wondering if I could get some help. I am unable to serve a custom 403 page. I am using the geoip module to block a few ip addresses. I need to serve a custom xml file as the 403. My problem is that ...
user3145049's user avatar