Need help with SMS 2.0 query
#1
Scooby Regular
Thread Starter
Join Date: Dec 2001
Location: Sutton, Surrey
Posts: 536
Likes: 0
Received 0 Likes
on
0 Posts
I want to query our client PCs to find out what shell they load Windows with. Your see some of our PCs boot using an in-house written Citrix shell and I want to find out which rigs are still using the standard NT4 Explorer.exe shell. Means interrogating the registry but I can't figure out how to do that using the built-in query statements.
Bit of a shot in the dark but if anyone can help, excellent.
Jodster
Bit of a shot in the dark but if anyone can help, excellent.
Jodster
#3
Scooby Regular
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like
on
1 Post
Found this...
Well, there's the right way, then there's the quick and dirty way. Right way, you'll have to read up on myITforum about putting stuff in a MIF form, or pulling the reg data using the MOF.
The quick way would be to write a script to check the key. If it's 1, put a 0 byte file called screenenabled.exe somewhere on the box (we have an SMSTEMP folder we use for stuff like this). The next SINV thats done, this file will grabbed, and you can do a query on who has the "screenenabled" software on their machine. These will be the people with the "1" in their registry...
Let me know if you get stuck...
David
Well, there's the right way, then there's the quick and dirty way. Right way, you'll have to read up on myITforum about putting stuff in a MIF form, or pulling the reg data using the MOF.
The quick way would be to write a script to check the key. If it's 1, put a 0 byte file called screenenabled.exe somewhere on the box (we have an SMSTEMP folder we use for stuff like this). The next SINV thats done, this file will grabbed, and you can do a query on who has the "screenenabled" software on their machine. These will be the people with the "1" in their registry...
Let me know if you get stuck...
David
Thread
Thread Starter
Forum
Replies
Last Post
BlueBlobZA
Member's Gallery
30
25 July 2016 09:14 AM