<![CDATA[Article Comments for Steve Seguis]]>http://www.sqlmag.com/authors/author/author/5648300/rsscomment/5648300en-USFri, 25 May 2012 08:18:29 GMTFri, 25 May 2012 08:18:29 GMTHow to Locate Roaming Usershttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchorWed, 15 Oct 2008 06:45:50 GMT
why am i unable to view the entire post ???]]>
LionelWed, 15 Oct 2008 06:45:50 GMThttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchor
Create DHCP Scopeshttp://www.sqlmag.com/article/dhcp2/create-dhcp-scopes#commentsAnchorFri, 11 Apr 2008 17:04:30 GMT
netsh add helper dhcpmon.dll]]>
billFri, 11 Apr 2008 17:04:30 GMThttp://www.sqlmag.com/article/dhcp2/create-dhcp-scopes#commentsAnchor
Easily Update AD Attributeshttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/easily-update-ad-attributes#commentsAnchorWed, 05 Mar 2008 10:08:28 GMT
Some what useful, but it would help if I had the complete article.]]>
MichaelWed, 05 Mar 2008 10:08:28 GMThttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/easily-update-ad-attributes#commentsAnchor
Querying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorThu, 28 Feb 2008 05:27:38 GMT
Having made the changes noted by Gustavo, I still get a "syntax of the command is incorrect" error running the batch. However, if I run the ’Reg Query...’ component on it’s own at the command prompt, I get output. I’m really not sure what’s wrong!]]>
DavidThu, 28 Feb 2008 05:27:38 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchor
Capture Printer Data Quicklyhttp://www.sqlmag.com/article/migration/capture-printer-data-quickly#commentsAnchorFri, 07 Dec 2007 06:05:07 GMT
I take that back, it does work on most workstations but no on Servers if running some av and anti-hacker software- its very nice (sorry)]]>
RobFri, 07 Dec 2007 06:05:07 GMThttp://www.sqlmag.com/article/migration/capture-printer-data-quickly#commentsAnchor
Capture Printer Data Quicklyhttp://www.sqlmag.com/article/migration/capture-printer-data-quickly#commentsAnchorFri, 07 Dec 2007 05:52:21 GMT
I tried to use this script on several machines (XP Pro) and it output nothing...so as it is here this does not work, but the theory is valid- maybe someone has the corrected script?]]>
RobFri, 07 Dec 2007 05:52:21 GMThttp://www.sqlmag.com/article/migration/capture-printer-data-quickly#commentsAnchor
Updating AD Attributes—Revisitedhttp://www.sqlmag.com/article/ldap/updating-ad-attributes-revisited#commentsAnchorThu, 11 Oct 2007 01:55:50 GMT
Thank you Steve Seguis, It works perfectly. This was just the script i was hoping to find, you saved my day (week and month!)]]>
TomThu, 11 Oct 2007 01:55:50 GMThttp://www.sqlmag.com/article/ldap/updating-ad-attributes-revisited#commentsAnchor
Create DHCP Scopeshttp://www.sqlmag.com/article/dhcp2/create-dhcp-scopes#commentsAnchorThu, 27 Sep 2007 17:19:19 GMT
I always like articles like this, which usually remind of things I’ve forgotten about, or turn me on to new ways to automate. In the case of NETSH for DHCP configuration, I always see one ommission regarding using this commandline tool for scripting DHCP configuration, and it can be confounding until you realize what’s happening: You cannot configure remote DHCP servers with NETSH unless you have the DHCP service installed locally. In other words, if you try to use NETSH to get to the DHCP configuration commands for a remote server from an XP workstation, the DHCP subset of commands is not available. And if you are on a server without DHCP installed, the commands will also not be available. Many admins (like myself) install all available Microsoft support tools and ResKit tools, but none of that matters (in this case) if you don’t have Microsoft DHCP service installed locally. If there’s some DLL that can be registered to alleviate this, I’d love to hear about it. -- Rob "I" -- Sr Windows Admin]]>
RObThu, 27 Sep 2007 17:19:19 GMThttp://www.sqlmag.com/article/dhcp2/create-dhcp-scopes#commentsAnchor
Updating AD Attributes—Revisitedhttp://www.sqlmag.com/article/ldap/updating-ad-attributes-revisited#commentsAnchorThu, 15 Mar 2007 16:58:34 GMT
Although the script will update "normal" attributes, it does not seems to update abnormal attributes with [blank] fields with numeric characters only. The output says it was changed from [blank] to "xxxx", however the field remained blank. To do this, push alpha characters first, then the numeric characters. The reason this is important to us is we use purely numeric characters for our employee ids.]]>
MatthewThu, 15 Mar 2007 16:58:34 GMThttp://www.sqlmag.com/article/ldap/updating-ad-attributes-revisited#commentsAnchor
Querying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorWed, 24 May 2006 04:33:41 GMT
for /f "tokens=*" %%a in (’reg query hklm\software\microsoft\windows\currentversion\uninstall’) do ( for /f "tokens=*" %%b in (’reg query %%a /v displayname ^| find "displayname" /I’) do echo "%%b")]]>
browolfWed, 24 May 2006 04:33:41 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchor
Updating AD Attributes—Revisitedhttp://www.sqlmag.com/article/ldap/updating-ad-attributes-revisited#commentsAnchorThu, 13 Apr 2006 11:40:19 GMT
sdfsdaf]]>
jhurleyazThu, 13 Apr 2006 11:40:19 GMThttp://www.sqlmag.com/article/ldap/updating-ad-attributes-revisited#commentsAnchor
Event-Log Auditing, Part 1http://www.sqlmag.com/article/auditing/event-log-auditing-part-1#commentsAnchorTue, 12 Oct 2004 09:53:39 GMT
This script has been incredibly useful, but I’ve recently encountered problems with it on AD domain controllers running Windows 2003, where the script scheduled to run every 24 hours. This isn’t a problem with the script itself but I thought other readers might be interested. Very frequently, under this configuration, the process hangs and the resulting .csv doesn’t ever close (or at least, doesn’t close before the next scheduled collection starts). The results have been logs over 20 G in size and filled-up hard drives. A look at the Task Manager shows multiple PSLOGLIST processes running, one for each day the script was to have executed. I believe this is a result of the traffic being processed by the domain controllers - they’re each logging about a million entries every 24 hours. The script is excellent on Windows 2000 (even domain controllers) and on Windows 2003 member servers. Just beware that a very busy security event log on a domain controller can cause this to hang. (A good solution here might be to get a few more domain controllers!) Thanks for an excellent forum. ]]>
LISATue, 12 Oct 2004 09:53:39 GMThttp://www.sqlmag.com/article/auditing/event-log-auditing-part-1#commentsAnchor
Querying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorTue, 16 Mar 2004 08:41:21 GMT

If you change the code:

If %ERRORLEVEL% EQU 0 Echo %targetcomp% is
unavailable at this time & Goto :EOF

to

If %ERRORLEVEL% EQU 1 Echo %targetcomp% is
unavailable at this time & Goto :EOF

it’s going to continue the script.

]]>Gustavo Pinto Tue, 16 Mar 2004 08:41:21 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorQuerying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorTue, 16 Mar 2004 08:41:21 GMT

This is the right command-line code to get remote computer info

For /f "tokens=1,2,*" %%i in
(’Reg Query \\%targetcomp%\HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
/S ^| Find /I "DisplayName" ^| Find /V /I "Quiet"’)

]]>Gustavo Pinto Tue, 16 Mar 2004 08:41:21 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorQuerying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorFri, 05 Mar 2004 12:47:09 GMT

I keep getting the following error when I run this program: Installed Software for *machine name*. The syntax of the command is incorrect. I believe the code in callout B in QueryInstalledSoftware.cmd is in error but I just can’t "see" the actual error.

A note from Steve: Without more information, it’s hard to tell whether there’s an error with the code or if the code was copied incorrectly. If you email me (steve@seguis.com) a copy of the script you’re using and the command you’re typing to execute the script, I should be able to find out.

]]>
B. Nicholl Fri, 05 Mar 2004 12:47:09 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchor
Querying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorWed, 18 Feb 2004 11:31:02 GMT

Just FYI. The WXP vergion of REG.EXE does allow you to query remote machines. It just has a slightly different syntax. Instead of

Reg query HKLM\.... \\%machine%

it is expecting

Reg query \\%machine%\HKLM\....

Same as the version that comes with W2K resource kit.

]]>Eric J. Wang Wed, 18 Feb 2004 11:31:02 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorQuerying Installed Software Remotelyhttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchorTue, 17 Feb 2004 23:00:48 GMT

The XP version of reg.exe does query the registries of remote computers. The syntax is \\computer\FullKey. Only HKLM and HKU are available on remote computers.

]]>
Eric Case Tue, 17 Feb 2004 23:00:48 GMThttp://www.sqlmag.com/article/auditing/querying-installed-software-remotely#commentsAnchor
Automatically Audit Access to Files and Foldershttp://www.sqlmag.com/article/permissions/automatically-audit-access-to-files-and-folders#commentsAnchorFri, 09 Jan 2004 14:12:06 GMT
I’ve been using your script to audit directory permissions but I’ve come accross a flaw. If a user is in a Global Group which is a member of a Local Group, the script does not appear to work. Example: C:\Support ==> Access granted to TLocalGroup TLocalGroup Members TGlobalGroup TGlobalGroup Members Joe User If I run the getaccess.cmd command on Joe User it does not detect Joe User has access to that script. If I run it against TGlobalGroup it works.]]>
Mike Cropsey Fri, 09 Jan 2004 14:12:06 GMThttp://www.sqlmag.com/article/permissions/automatically-audit-access-to-files-and-folders#commentsAnchor
How to Locate Roaming Usershttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchorWed, 05 Nov 2003 15:02:28 GMT

Great idea to store the Computername in the wwwHomePage attrib. I am making the addition to my logon script now. A quicker why to quickly bind to the user is use the ADSystemInfo object. Simply:
Set WshADS = CreateObject("ADSystemInfo")
Set objUser = GetObject("LDAP://" & _

WshADS.UserName)

This works with Win2K and higher. I have read that it is supposed to work on Win95 and NT if the AD Extension Client is installed, but I haven’t had any luck.

Thanks again for a cool trick.

]]>Tony Colgrove Wed, 05 Nov 2003 15:02:28 GMThttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchorHow to Locate Roaming Usershttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchorThu, 16 Oct 2003 17:07:24 GMT

On the top of page four (Web article), Steve says that the "wwwHomePage" and "url" fields are not read-only for users. I find that this is not the case. Are you sure these fields aren’t read-only? I have a very vanilla install of AD and mine are read-only. I like the idea of using AD to store these settings and would like to use it instead of SQL or something like that. Is there anything I can do?

]]>
FeroCelesThu, 16 Oct 2003 17:07:24 GMThttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchor
How to Locate Roaming Usershttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchorThu, 02 Oct 2003 10:23:20 GMT

I’ve integrated the loguser.vbs module into our login script, but I’m trying to find an easy way to display the information on a Web page. Given the user’s full name, I’m trying to execute an LDAP query to retrieve the computer name via objUser.Get("wWWHomePage"). This results in a rather cryptic error message: "The Active Directory datatype cannot be converted to/from a native DS datatype." This value is just a string value, so I don’t understand why it’s returning this error. If anyone has a hint or solution, I’d greatly appreciate it.

]]>
Mike Koch Thu, 02 Oct 2003 10:23:20 GMThttp://www.sqlmag.com/article/active-directory-service-interfaces-adsi/how-to-locate-roaming-users#commentsAnchor
Automatically Audit Access to Files and Foldershttp://www.sqlmag.com/article/permissions/automatically-audit-access-to-files-and-folders#commentsAnchorTue, 24 Jun 2003 12:57:54 GMT
The script did not show how to combine every list into one working .bat or cmd file...]]>
Kevin Chen Tue, 24 Jun 2003 12:57:54 GMThttp://www.sqlmag.com/article/permissions/automatically-audit-access-to-files-and-folders#commentsAnchor