Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting

HTVi
TV Discussion Newsgroups

Threads Replies Last Post
17 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  
Shortcut on desktop via logon?
Hi, I've been asked to distribute a shortcut to a web site to all my users. I think the best way to do this is through the logon.bat file, however, I'm stuck, can't seem to figure it out. It seemed simple enough, just add the following code to my batch file, right? If Not Exist %ALLUSERSPROFILE%\Desktop\PI.lnk (Copy PI.lnk %ALLUSERSPROFILE%\Desktop) Of course this doesn't work. ...
9 10/7/2008 12:22:06 AM
modify registry settings using WSH
Can anyone send me to a link that shows some samples of modifying existing regkey values? I bought an MSWindows scripting book but it sort of takes the approach that one already knows how to script. Here's what it says in the book: set objShell = WScript.CreateObject ("WScript.Shell") objShell.regWrite "HKU\TestKey\version" , 56, "REG_DWORD" I'm trying to do something similar but wit...
2 10/6/2008 7:53:57 PM
RoboCopy XP026 Return Code
With RoboCopy version XP026 the Return Code is always 0 (even with a fatal error) instead of what it should be according to the documentation. Is anyone know a workaround to this problem or if there is an update that fix it? I was also wondering why the version XP026 is 3 times bigger than XP010 for the only few extra features, was there major flaws to address in version XP010? Is there an...
1 10/5/2008 4:03:25 PM
Politics
lispers dawkins difficulties diff obscenities misinformed hackertype firiss decidedly...
2 10/4/2008 12:22:53 PM
AD Audit
Hi How can I track changes to AD objects - users, groups, computers, etc? Can someone, please, give me some starting points? I am looking for scripting it myself. Thanks Best wishes Iyer...
1 7/13/2007 9:36:00 AM
Authentified Connection to an active directory
Hello, I have a problem to establish an authentified connection with an active directory. My code : Private Sub CommandButton_Click() Const ADS_SECURE_AUTHENTICATION = 0 Dim uid As String Dim pwd As String Dim LDAPString As String Dim LDAP As IADsOpenDSObject Dim obj As IADs uid = "saucisson47@domain.fr" pwd = "mypassword" LDAPString =...
1 7/13/2007 9:14:02 AM
Remove users with @xyz email attribute from all groups in an OU
Hello All, I am new to scripting and fairly new to AD so please be patient with me :-) We have recently sold a company. They still use resources in the forest for exchange. I am being asked to remove all employess of this sold company from all d-lists/groups so that they may no longer receive mail intended for current employess only. All of the groups are in the same OU, and the com...
1 7/13/2007 3:02:02 AM
Exchange Users across several exchange servers
Hi all, We have about 40 exchange servers with a lot of users spread across them. As part of a clean up process, we need to extract the mailboxdata from all of the servers and import into excel. I have tried several different scripts to manage this, but keep on running into a brick wall. At this stage I sit and do this manually on all the servers. Please can someone help me with ...
2 7/13/2007 1:40:53 AM
what is shell running in windows server 2003 64bit?
i want to know what shell is running in windows server 2003 64bit environment. Powershell or not? does vbscript and batch scripts written for 32 bit work here in 64 bit?...
2 7/13/2007 1:38:39 AM
Export All Active Directory Group memberships to a .txt file
Not sure how to do this any suggestions. not really a programmer. ...
2 7/13/2007 12:01:16 AM
Scripting ADSI and Sub Domains Question
Hello, My issue is one that I have not experienced previous to now, but also I cannot remember if I have ever tried this before or not so... Anyway, here is the dilemna. I am creating a script to output the group membership of a user. This is the easy part and the script is functional for that (for the most part). The issue arises because I have to write the script to choose eithe...
4 7/12/2007 9:49:58 PM
Changing owner of Dist List
I have a number of DL's that I need to update the managed by field. All the DL's are located in the same OU. The script I am using is the following Set objGroup = GetObject _ ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com") objGroup.Put "managedBy", "cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com" objGroup.SetInfo First the script is generating a "dn syntax" err...
2 7/12/2007 8:02:10 PM
Take ownership of files
Hello, I have a drive that all users used to have read/write rights to. They had this permission via membership in a group. Now I want them to only be able to read from the drive so I've moved all users into a read_only rights group. The problem is that users can still write to the disk via the default CREATOR/OWNER permission that was originally given when they created the files. I...
1 7/12/2007 6:52:58 PM
Globally add printers
sI have been using a bat file to add printer globally to work station computers in school computer labs. This has worked just fine on Windows OS 2000. It doesn’t work on XP machines. Is there a script that can replace it? Or can it be changed so it will work on Xp machines. The bat file is: rundll32 printui.dll,PrintUIEntry /in /q /n \\sever_name\printer_name rundll32 printui.dll,Print...
3 7/12/2007 6:02:02 PM
setprinter command
has anyone used the setprinter command? i want to be able to use it to point printers to another driver so that i can delete the current driver they are currently using I cannot delete the current driver because it says it is in use has anyone had any experience with this thanks don ...
4 7/12/2007 4:22:06 PM
Blocking access to websites?
How would I write a script to block access to youtube, etc. on my workstations? I run Windows Server 2003. Thanks in advance....
1 7/12/2007 2:14:02 PM
List of Users in AD saved to Excel
I am trying to write a script that will give me an Excel Spreadsheet of all of the users in a particular OU and all of it's sub OU's. I'd like for the Output to include the Distinguishedname. Here's what I have so far. I can't find directions on how to get it to write to Excel instead of a text box on the screen. (Also, when I run this I get the person's name to show up, if I change ...
4 7/12/2007 11:49:14 AM
Newbie - Need to ping..!.
Hi All, I need to read a file with computer names in, issue a ping to those computers and write back to a file (or the same file) on the success or failure of the ping.. My scripting guy has swan'ed of to Oz on hols and I could really do with a dig out.. any pointers are very very welcome many thanks Andi ...
4 7/12/2007 11:00:00 AM
2000 uptime
Script shown below returns up time value on a Win 2000 system in minutes. Can someone help me with the code to show days instead of minutes? Thank you very much strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * from Win32_OperatingSystem") For Each objOS in colOperatingSyst...
4 7/12/2007 10:08:34 AM
How to get the pid of the current running script and parent proces
Sorry, I am not a power shell user (YET). I am using cscript I have tried the following and it did not work for the oShell.ProcessID. When I exec the process, it returns the PID.... Why? How do I get the current process ID, so I can perform actions on all of the processes in the system but the current process AND some of the other selected processes like windows itself etc. va...
2 7/12/2007 1:04:34 AM
newbie: dsquery question
dear scripting gurus, i have a root domain with 3 childdomains. bigroot.com bigeast.com bigsouth.com bignorth.com if i start dsquery (dsquery user -name johnx) for a user on bignorth.com on a member server on bigroot.com, dsquery can not find the object. is it possible to run dsquery on a bigroot-member and find objects on the child-domains ? thanx alot tim ...
1 7/11/2007 9:03:29 PM
64 bit
hi i need to write a vbscript to check on some os settings and logs on a 64 bit machine. Will the same same queries built for 32bit work for 64 bit windows...
1 7/11/2007 12:04:02 PM
CAPICOM - How to access Certificate Store remotely?
Hi all, I need to check the expiration date on certs installed on remote servers. I have a code for checking the local store, but I can't find a way to access Certificate Stores remotely. Is it supported? How can I do this? Thanks a lot!! Luci....
1 7/11/2007 6:28:02 AM
EnumLocalGroup.vbs - how to enumate all groups
I was looking at the "EnumLocalGroup.vbs" script on Richard Mueller's site. The description indicates that it can be "It can be revised to document membership in any local group." What would I need to change to have it enumerate any group? ' Bind to local Administrators group. Set objLocalGroup = GetObject("WinNT://" & strComputer _ & "/Administrators,group") I know that the ab...
2 7/10/2007 11:05:46 PM
nested group not getting mapped drive
I have a script that basically maps drives and printers based on domain local groups. Its using the winnt provider which I think should support nested groups. SO I created one group with some users in it. The script maps drivers and printers based on this group. Then I greated another group and put it into the first group. Now the users in the second group are not getting mapped drive...
6 7/10/2007 7:11:57 PM
17 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen