|
lastLogonTimestamp not set!
Hello all- I am researching finding old user accounts so they can be
deleted. I am finding a lot of user accounts have nothing set in the
lastLogonTimestamp. I've found several conditions that will cause
this. Of course if the domain is not at Windows Srv 2003 Func Level,
this will not work, but that is not the case here, we are at the
highest func level and all DCs are 2003 SP2. Also I found...
|
3 |
12/30/2008 6:11:39 PM |
|
How to run a script by a domain user ?
Hi,
My question is how to let the domain user run the logon script.
************************************************************************************
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colNetAdapters = objWMIService.ExecQuery _
("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled =
True")
For Each objNet...
|
2 |
12/30/2008 4:17:11 PM |
|
WSUS Script
Hi all,
We have a domain of 120 Clients and have reason to believe they are
downloading updates over the internet instead of from our WSUS server.
We (the geeks) have set the server upo as per the WSUS documentation,
and set GPOs as per Microsoft.
Is there a VB script to output the results of each clients WSUS server?
We are running Win 2008 Std server, WSUS 3 with XP and Vista client...
|
1 |
12/30/2008 7:42:24 AM |
|
Copying Files from Client PC to Server
Hi,
I'm trying to find out if there is a way to automatically copy certain files
to the server (Windows 2003). I have a user who needs their .pst files
copied to the server for a regular backup, but I'm not always in the office
to manually do it. Is there a way to get the server to grab the file?
Thanks!
Anita...
|
2 |
12/29/2008 10:15:56 PM |
|
Stored Passwords in Internet Explorer
Is it possible to write a script which will set a stored username/password
into Internet Explorer?
...
|
1 |
12/29/2008 8:15:01 AM |
|
This script doesn't work i don't know why
I wrote this machine script to apply a patch to the computers of a OU in a
Windows 2003 Server Domain.
if exist C:\patchs\kbxxxxxx.dat goto end
if exist C:\patchs\. goto label1
md c:\patchs
:label1
\\mcse-01\patchs\WindowsXP-KBxxxxxx-x86-enu.exe /norestart /log:C:\patchs\
echo "patch applyed" > c:\patchs\kbxxxxxx.dat
:end
I gave to the group "Domain Computers" read and write right...
|
9 |
12/29/2008 3:57:20 AM |
|
Interactive Rename and Domain Join Script Needed
Background:
I have Vista installed as a Guest onto a Virtual PC 2007 VM. I want to
customize it, sysprep it and then distribute it to our QA team. In XP and 2K
Pro i was able to do this in such a way that the VM would launch mini setup
and prompt users for a Host Name the first time the VM was launched after
being distributed. All other settings were automated by the sysprep process
...
|
4 |
12/28/2008 10:38:33 AM |
|
Application hang on exit?
Hi,
I have written a Visual FoxPro application to track my computer inventory.
I adopted WMI scripting calls to remotely get information about the CPU,
memory, NIC and hard drives from the computer in question. Works pretty
slick. However, I've found one quirk that I'd like to correct if I can.
Basically, if I query a computer then shut it down and exit my application
it hangs. It...
|
1 |
12/22/2008 6:18:57 PM |
|
This script doesn't work, i don't know why
I wrote this machine script to apply a patch to the computers of a OU in a
Windows 2003 Server Domain.
if exist C:\patchs\kbxxxxxx.dat goto end
if exist C:\patchs\. goto label1
md c:\patchs
:label1
\\mcse-01\patchs\WindowsXP-KBxxxxxx-x86-enu.exe /norestart /log:C:\patchs\
echo "patch applyed" > c:\patchs\kbxxxxxx.dat
:end
I gave to the group "Domain Computers" read and write right...
|
1 |
12/20/2008 12:49:07 AM |
|
Problem calling oADsSecurityUtility.SetSecurityDescriptor from VBScript
Hi,
I found a vb code sample for setting ntfs file permissions here:
http://msdn.microsoft.com/en-us/library/aa705922(VS.85).aspx.
It looked simple enought to be made into a vbscript which I could then
further modify to do some fancy stuff with a bunch of home directories and
accounts.
I made the few symantic changes that I though would be necessary to get it
to work under vbscrip...
|
3 |
12/19/2008 5:52:08 AM |
|
Special batchfile
Hello,
Who can make a batchfile with de following tasks:
- A program on my computer will open the batchfile
- The batchfile wil sleep "X" seconds
- After sleeping the batchfile will rename a other file that stay in
the same map of de batchfile.
De name of that file must be: movie_1_YYYYMMDD_HHMMSS.wmv
YYYYMMDD refert to de date of the moment that de batchfile is running
HHMMSS refert to de tim...
|
8 |
12/17/2008 1:24:39 PM |
|
chech group
why this function does'nt check "Domain Users" group???
Function RecursiveIsMember(strGroup, arrGroups, x)
' Return Type: Boolean
' Goes through Nested Groups until either booIsMember is True
or there are no more groups to check
Dim objADSystemInfo, objUser, objGroup
Dim strGroupDN
Dim arrTemp
Dim booIsMember
booIsMember = Fa...
|
4 |
12/12/2008 6:10:51 PM |
|
display "path" system variable in cmd.exe
In cmd.exe , typing "path" will display the "path" user variable ..
But how to display the "path" system variable ?
...
|
2 |
12/12/2008 6:56:56 AM |
|
exporting * importing users into groups
Hi,
I am wanting to export a list of usernames from an AD group & then
import them back into another group. I believe it is possible to do
this using the csvde command, but Im not sure of the syntax. Would some
one be kind enough to explain what syntax I would use for both of these
tasks please?
Thanks
--
pljdoyle
------------------------------------------------------------------------
p...
|
3 |
12/11/2008 7:37:46 PM |
|
script to extract and create contacts
i need a script similar to this one:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jun08/hey0605.mspx
but instead of outputing to .msg each contact i need to create them in a
contact subfolder of my choice, how do i do that?
...
|
3 |
12/11/2008 1:28:52 PM |
|
How to Modify AD CN Field
Hi,
How to Modify AD CN or Name Field stored in Active Directory.
The server would be Server 2003 without SP2.
Could any one help me on this issue.
Many thanks in advance.
BTW: old sam account like this "000123" DisplayName "Jack" ...
============================================
option explicit
dim strOU,strUser,strName,colAccounts,objUser,objUser2,UsersCount
strOU = "OU=Test,"
Use...
|
3 |
12/11/2008 6:03:05 AM |
|
batch to run chkdsk on all local drives?
Is possible? tried to find that, with no success. The batch should find all
available local drives and do a chkdsk /f only to the next restart.
Any help would be appreciated. Thanks!
...
|
2 |
12/6/2008 5:12:03 PM |
|
Is there any way to control the Transport Server (subcomponent of Windows Deployment Services) via PowerShell?
Does the Transport Server expose any functionality through a COM or WMI
(or anything else) interface that can be manipulated via PowerShell?
The docs say that the only way Transport Server can be managed is with
wdsutil, but we would like not to have to shell out to an external
binary if at all possible....
|
5 |
12/6/2008 4:13:20 PM |
|
List deleted users ids
Hi Friends,
How long deleted users details would be stored in Active Directory. The
server would be Server 2003 without SP1.
Is there any script to list the user IDs that have be deleted (Say 6 months).
Could any one help me on this issue.
Many thanks in advance....
|
2 |
12/4/2008 9:19:04 AM |
|
[ANNOUNCE] TechNet Webcast: Introduction to Windows PowerShell (Level 200)
If you're wondering what PowerShell is all about, this may be something
of interest for anyone to attend.
To sign up:
http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032395109&EventCategory=4&culture=en-US&CountryCode=US
Details:
Language(s): English.
Product(s): Windows Server 2008.
Audience(s): IT Professional.
Duration: 90 Minutes
Start Date:
Monday, ...
|
1 |
12/2/2008 3:35:28 PM |
|
Robocopy major issue
I am working on a script with Robocopy XP026 and have a major issue with the
Return Code since it always return 0 even when there is a fatal error...
Does someone know a workaround for this major problem on Windows XP?
Thanks!
...
|
16 |
12/1/2008 10:07:04 PM |
|
Script to remove security descriptor
Hello all,
Is there a way to automate the removal of the "allow inheritable permissions
from parent" on newly created home directories for users?
Thanks,
Altria
...
|
3 |
11/25/2008 9:42:05 PM |
|
DISKPART select command doesn't have a "noerr" command for scripti
I'm trying to programmatically delete all partitions from a drive, however
I'm not sure how many partitions the drive has.
I thought the script below would work, but if any of the partitions don't
exist, the script stops execution when trying to select them. This is because
there is not a "noerr" parameter for selecting the partitions.
I don't understand what good the "noerr" paramet...
|
2 |
11/25/2008 7:29:21 AM |
|
can I do this from answer file or do I need to script post install?
.... there will probably be a few different posts with this same title over
the next few days as I'm working through some customizations on a deployment
project... any item that can be taken care of via the standard unattend
files I do there, otherwise I script the setting/config item. This is for
windows server 2003.
I didn't see the following config item listed in the deploy.cab ref.c...
|
3 |
11/24/2008 5:04:23 PM |
|
Net send over different domains
Hi
We have two different networks, each one has one SBS 2003 server and Windows
XP clients. Because users from domain A and B want to access resources from
other domain I have configure routing so that both networks can be accessed.
Because there are two SBS 2003 I couldn't create trust between them, so I
created the same account in each domain so that users could access files
from bot...
|
4 |
11/23/2008 11:50:03 PM |