|
DNS record details from AD
I'm looking after a fairly large enterprise system with a few thousand
Desktops and several dozen servers.
There's a number of W2003 Domain Controllers distributed around various
sites, providing DNS support.
Most of the Desktops/Laptops use DHCP, the servers are generally static.
Some DNS entries have been added manually.
The systems have been around for a few years and the DNS (forward...
|
1 |
02.05.2007 07:34:35 |
|
Automatic Creation of LocalGroups?
We have some local groups that we refer to in our group policy, so I need to
make sure those groups are created on every computer that belongs to a
domain. I created a system startup script in group policy to create these
using command:
net localgroup groupname /add
What I am noticing is that on some of our computers, after rebooting them,
local groups that are in this script ...
|
1 |
01.05.2007 07:14:08 |
|
Save input to the file
I'd like to save all the commands I type into cmd window to the
history log file.
Complete list of input commands.
doskey /history show some commands but not in the right order.
How can I do that?
W2K, XP
...
|
1 |
30.04.2007 18:16:44 |
|
Hardcode credentials?
How can I hardcode credentials into this portion of my script so that I can
access the remote drives? The users that will run this script will not have
their credentials on the server.
'ServerName and HostSitePath variables are assumed.
Const OverwriteExisting = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "\\"& ServerName
&"\C$\WINDOWS\system32\ine...
|
2 |
28.04.2007 01:04:44 |
|
Remove all members in local Power User Group
I need to remove all membership in the local power users group on the local
machines. I would like to use a logon scipt to do this. I see examples of
adding or removing specific users but nothing to set group membership to 0....
|
4 |
28.04.2007 00:36:07 |
|
logoff vbs script
Hi there.
Could somebody help me with logoff script in VBS.
This is the criteria:
when one user login on a computer, and this script will try to check if
there are any folder\directory such as: c;\windows\logs
if exist continue login
else logoff.
many thanks
kind regards
Ali
...
|
2 |
28.04.2007 00:32:18 |
|
How can i get largest the sms client cache?
Hi there.
Could somebody help me with the sms client cache?
This is the criteria:
when i sent one aplication to a client since sms, sometimes the set up isnt
install, becuase the cache size is smallest than aplication needs. So i need
a script to made bigger the sms client cache
many thanks
...
|
1 |
27.04.2007 22:12:03 |
|
Unparsable Query
I have a script that will notify me when new files are added to a folder.
This works really well when I test it on my local computer but I need it to
monitor a network share. When I replace the local path (C:\Test) with with
the path to the network directory (S:\Shared\ShielahS) I get the "unparsable
query error." Here is my code. ANY help is very greatly appreciated!
Option Explic...
|
5 |
27.04.2007 17:44:05 |
|
Getting fan info
I'm trying to get som info from Win32_Fan, but it keeps returning no results.
Does anybody know if this class works?...
|
1 |
27.04.2007 09:14:31 |
|
Change permissions on folder and shares
Is there a way to change share permissions using VBScript?
And folder permissions?
Thanks!!!
Felipe
...
|
1 |
27.04.2007 01:43:09 |
|
Script User Privilege
I have created a security group in active directory (SLSMGR) then added this
security group to admin group on local machine. Would like script to
determine what the privilege level of the logged on user actually is i.e.
administrator, power user etc. to check. ...
|
1 |
27.04.2007 01:04:01 |
|
Remove members from local administrators group
I need to use a group policy to remove users from the local administrators
group and only add domain admins. I am trying to use net localgroup
administrators.
What can I use as a variable for the domain users. Is there a script for this?...
|
2 |
26.04.2007 21:20:37 |
|
Delete Parent registry key based on subkey data
I am trying to figure out if it is possible to delete a parent key
based on data in the subkey. For example, the following registry key
automatically generates a random number behind the key
(network#FD3D2E5EDBD3FED8A925FE1A99DC616942D6DAFF), but the ID subkey
will always be the same on all PC's.
Is there a way to parse the registry for that ID and then delete the
parent key through a VBS...
|
3 |
26.04.2007 21:19:38 |
|
Scripting change to the Power Management Schedule Task Options
I have created a script shelling out to schtask.exe to create
scheduled tasks on all my servers, which are all located at different
sites around the mid-west. As you are aware the default Power Mgmt.
setting on the Settings tab is for "Don't start the task if the
computer is running on batteries" and "Stop the task if battery mode
begins" to be checked on I need to change the default Power
...
|
1 |
26.04.2007 17:42:41 |
|
Scripting change to the Power Management Schedule Task Options
I have created a script shelling out to schtask.exe to create
scheduled tasks on all my servers, which are all located at different
sites around the mid-west. As you are aware the default Power Mgmt.
setting on the Settings tab is for "Don't start the task if the
computer is running on batteries" and "Stop the task if battery mode
begins" to be checked on I need to change the default Power
...
|
1 |
26.04.2007 15:30:09 |
|
saving files under a folder which was created based on date.
Hello There,
I am trying to backup my dfsmetadata using dfsutil. This is done on fortnite
basis. A script is run to create a folder on the basis of the date when the
script is run.
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jan07/hey0122.mspx. That's the script used to create folders on the basis of date.
Once this script is run then we will run the DFSUTIL command t...
|
1 |
26.04.2007 09:40:06 |
|
Install Application via VBS Script
I am very new to scripting but understand networking and administration of
networks. I am wanting to install an application with elevated privileges
and found this sample script on the Microsoft Scripting Samples site:
Const wbemImpersonationLevelDelegate = 4
Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objConnection = objwbemLocator.ConnectServer _
("WebSer...
|
1 |
25.04.2007 18:42:04 |
|
Script for mapped network drives
Good afternoon everyone.
I have a very quick question. I need to do the following for a middle sized
business using Server 03 SP2 R2. I will be building the AD from scratch on
the server and all users will be using WinXP SP2 with all updates. This
server will be the proxy (FreeProxy), email (exchange), web (IIS), storage,
and database (SQL 05)server.
When the user logs in for the ...
|
5 |
25.04.2007 14:39:57 |
|
Delete Parent registry key based on subkey data
I am trying to figure out if it is possible to delete a parent key
based on data in the subkey. For example, the following registry key
automatically generates a random number behind the key
(network#FD3D2E5EDBD3FED8A925FE1A99DC616942D6DAFF), but the ID subkey
will always be the same on all PC's.
Is there a way to parse the registry for that ID and then delete the
parent key through a VBS...
|
1 |
25.04.2007 13:19:27 |
|
start and stop a process
i want to know how to start and stop a process in vbscript?...
|
8 |
25.04.2007 08:12:37 |
|
Security policy
i would like to check these security policy settings thru a Vbscript
Password policy
-Enforce password Histroy
-Max Password Age
-Min Password age
-Min Password length
Account Lockout Policy
-Account lockout threshold
...
|
1 |
25.04.2007 04:34:00 |
|
telnet in vb
is there any kinda objects similar to telnet which can be used for remote
login to computers?...
|
1 |
25.04.2007 04:08:05 |
|
logevent command bombs scheduled task
I have a script that uses logevent. Logged in as my account the
script runs successfully, without errors, and writes to the event
log. When I attempt to run this batch file as a scheduled task, under
my SAME credentials, it fails with 0x1 error, which according to
microsoft means "An incorrect function was called or an unknown
function was called". If I rem out the logevent line the schedu...
|
2 |
25.04.2007 02:13:17 |
|
Modify IIS 6.0 Website Server Bindings using VBScript?
Hi,
I'm trying to modify an existing website's server bindings using WMI. I
think its just a simple syntax problem but I haven't found any documentation
on updating existing serverbindings.
This is a small part of my code that I'm using to try to update the MetaBase
file using IIsWebServerSetting and the ServerBindings property. I can
connect to the path but this script is not upd...
|
1 |
24.04.2007 21:42:01 |
|
Move files
Move files from a folder in a Server, to another folder in another Server.
The files that move are the generated only in the present day. The task must
executed every day at 23:00.
Thankyou...
|
3 |
24.04.2007 13:39:32 |