|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
"access denied" with robocopy to a network folder
Spin -
29 Jul 2006 9:18 PM - 3 messages
I use robocopy script to synch files from my "My Documents" to a network folder: \\server\share\folder I am suddenly seeing "access denied" error message when the script attempts to create a new directory. It worked great for a year up until yesterday. ...
Exchange 2007 Shell
Dipak -
29 Jul 2006 8:06 AM - 3 messages
I've just downloaded Excahgne 2007 beta 2 x86 from public website. Interesting thing is that I'm not able to run any commands in Management Shell Not even basic cmdlets like Get-mailbox, move-mailbox i feel anything related to exchange is not working ...
Terminal Services Profile Path Script
anthonyy -
28 Jul 2006 6:44 PM - 2 messages
Hello, I work at a company that uses Active Directory, 2003 Servers and mostly Windows XP workstations. In AD we have a USERS container with all of our users. We want to be able to change the Terminal Services User Profile ...
Need help about script
Ricky Chan -
28 Jul 2006 2:51 PM - 4 messages
Hi, I received a spreadsheet from department every 2 weeks regarding terminated employee. Based on this spreadsheet, i need to disable those user account in Windows domain. Is there a script that I can make to make my task is litter ...
Lock computer until process completes
Bill Freeze -
28 Jul 2006 1:56 PM - 4 messages
I have a login script which maximizes an IE windows until a process completes at which time the window closes. While the IE window is maximized the user can still move it across the screen and perform keyboard functions such as ...
Newbie Question on Exporting
Paul -
27 Jul 2006 10:57 PM - 3 messages
Hello, I was Trying to export the registry key below to a text file. The test file I declared does not work. I would appreciate any help! Thank You, Paul var regkey; var WshShell = WScript.CreateObject("WScript.Shell"); WshShell.Run("regedit /e c:\test.txt ...
need help with exporting
Paul -
27 Jul 2006 6:26 PM - 2 messages
Hello I need some help with this jscript below. I keep getting errors that my variable declaration is wrong and also the TRUE in line 4 is causing some issues. Any Help would be appreciated. Thank You, Var WSH = CreateObject("WScript.Shell"); ...
Moving computers from a text list from 1 OU to another OU
Charlie -
27 Jul 2006 4:15 PM - 3 messages
I'm trying to build a script to move a list of computers to another OU. I have the following. When I run this I get C:\Office2003push\MachineMove.vbs(37, 1) (null): There is no such object on the server - When I pull this part of code out and put a machine name in its ...
Try sending email 5 times?
MadBison -
27 Jul 2006 1:48 PM - 3 messages
Hello I need to try to send email from powerscript, but sometimes it fails due to server load. Usually, sending the email again immediately fixes it. I tried to use the following code but it would not work. if ($messages -ne $null) { ...
Synchronize Active Directory with a SQL-Server database
Pictor -
27 Jul 2006 1:23 PM - 5 messages
I have to synchronize two databases: - The table of the users of my portal/site - The Active Directory with the list of user in the domain I have to write a script that periodically read the list of the users in the ...
Create Multiple Accounts
Sam -
27 Jul 2006 12:30 PM - 4 messages
I'm trying to create multiple accounts in an OU called 'Visitors' in a child domain called sub.local.net bit I'm not entirely sure how to call up the child domain. I'm working with: Set objRootDSE = GetObject("LDAP://rootDSE") ...
VBScript for moving computer objects from one OU to another in AD
Vishn -
27 Jul 2006 9:41 AM - 3 messages
Hi Richard, Can you please help in creating a VBScript which will move computer accounts from one OU to another in Active Directory. There is only one domain in the forest. The computer accounts which are present in different OU's & ...
Retrieve attributes from Active Directory
Pictor -
27 Jul 2006 7:45 AM - 13 messages
I have to retrive some attributes of the domain's users from the Active Directory (via ASP) like the sAMAccountName or the UserPrincipalName. Untill now I used ADO to connect to the AD and do the queries. But (I don't know if it is an ADO limit or an Authorization problem) I ...
chop right of the decimal point
Rob Pettrey -
27 Jul 2006 4:17 AM - 11 messages
Hi everyone, I need a backup script solution, please. If the day is not Friday: $dow=(get-date).dayofweek.ToString() If it's Friday: if ($dow -eq "Friday") { $dom=(get-date).Day.ToString() $wom=$dom/7 $label="Week "+$wom write-output $label ...
Delegate Permissions AD
Birddog -
26 Jul 2006 8:37 PM - 2 messages
I am trying to use a script from the MS Script Repository to change OU permissions and it keeps bombing on me. Below is the script I copied and am trying to run as a .vbs script. When I run it I get a "A constraint ...
How to keep users from closing .bat file
Bill Freeze -
26 Jul 2006 6:42 PM - 10 messages
I run a backup.bat file from out Login Script if the user has not performed a backup of his/her files within a certain period of time. I am using the following line in the Login Script: oShell.Run "cmd /C CD D:\backup & ...
reconnect mapped drive
Viper -
26 Jul 2006 6:11 PM - 3 messages
I have a vbscript that i'm using to map various network drives with different user names and passwords on users machines. When i use the mapnetworkdrive option for persistent mapping, updateProfile i believe, the drive maps just fine using the supplied username and password. ...
group membership
codeye23 -
26 Jul 2006 3:16 PM - 7 messages
is there an easy way that is script based to modify the group membership of everyone in an OU? i.e add all the users in the Customer Services OU to the customer services securtity group. I have a script ...
PowerShell Questions
OldDog -
26 Jul 2006 3:07 PM - 7 messages
1. Is there a seperate group for PowerShell? 2. What I would like to do is this; I would like to run a powershell script against a list of files. The idea is to get some information about the files. ...
Computer accounts to be moved from one OU to another
Vishn -
26 Jul 2006 12:43 PM - 5 messages
Hi, Can anyone please help in creating a VBScript which will move computer accounts from one OU to another in Active Directory. There is only one domain in the forest. The computer accounts which are present in different OU's & ...
Login Name from Active Directory
Pictor -
26 Jul 2006 10:59 AM - 4 messages
Someone could please tell me which is the Attribute of the Active Directory Users that contains the User Account Name? I can found only the extended name of a user, using the properties "Name, surName, givenName"; but they contain the name as "John JS Smith" (or ...
CSCRIPT in VBS
CraigM -
26 Jul 2006 9:26 AM - 4 messages
instead of having to change each machine from WScript to CScript. is there a line i can put at the start of my VBS file to say run this script as CScript. Regards Craig ...
Can a Domain Group membership be blocked by a policy ?
David H. Lipman -
25 Jul 2006 11:58 PM - 17 messages
I ran into a strange problem on a User Notebook Today (Dell D620). Using the KiXtart v4.51 script interpreter for the OU Login Script, some drives are mapped based upon their OU group membership. Well on this notebook no drives were being mapped ...
Send email from Powershell RC?
MadBison -
25 Jul 2006 12:40 PM - 3 messages
Hello I would like to send an email from PowerShell. I have tried a huge number of things, and nothing works. I need to use an SMTP server out on the web. I could potentially set up IIS locally, and use it to forward the emails to my ISP's SMTP server, ...
Restart service after coming back from standby/hibernation?
Keke -
25 Jul 2006 11:56 AM - 6 messages
Ladies and gentlemen, I dont really know where to post it. Is there a way to schedule the restart of a particular windows service every time the computer comes back from standby or hibernation? Thank you, Keke ...
Programatically set IBM xSeries BIOS for Boot Order
Michael -
25 Jul 2006 2:24 AM - 2 messages
Hi all, My apologies if the context of the question might be beyond this group's scope.... :-P I'm trying to figure out if its possible to programmatically (via vbscript or something) change or set the default boot device or boot ...
HTTP & Command Prompt
JoJo -
25 Jul 2006 1:27 AM - 3 messages
Folks: Is it possible to launch a RealMedia file located at (([link]) ) by typing this URL into the Command Prompt ? * How can this be done form the command prompt ? ...
AD users manage
Simone -
24 Jul 2006 8:13 PM - 4 messages
In a windows 2003 domain I need manage AD users by vb script. I write this script to find a users and set it disable: dtStart = TimeValue(Now()) Set objConnection = CreateObject("ADODB.Connection") objConnection.Open "Provider=ADsDSOObject;" Set objCommand = CreateObject("ADODB.Command") ...
Delete terminal server user account(s)
BenOpp -
24 Jul 2006 5:40 PM - 4 messages
I run the following script with success:
------------------------------------------------------------------------------------------------ strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery _ ("Select * from Win32_TSAccount Where AccountName = 'FABRIKAM\\bob'") For Each objItem in colItems ...
home folder
vbs script name rules -
24 Jul 2006 5:39 PM - 4 messages
Hola everyone, I need a script that will move the users' home folder from NT server to windows 2003 server. we currently have three hundred user that need to be move to the new server. Any idea? regards, A.V ...
Monitoring for VBS "Telnet servidor 25"
Andrey Gonzalez Espitia -
24 Jul 2006 5:15 PM - 2 messages
Hello Everybody, I am having some problems with the SMTP service in my Win2003 SBS, I want to monitoring the SMTP service each 30 minutes. "Telnet server 25" Could somebody help me? regards. ...
Network Share permission
Jag -
24 Jul 2006 4:16 PM - 4 messages
Hi, When a resource is Shared over the network there are two kinds of share permission : 1. Network Share permission 2. NTFS Security Permissions Network Share permission is set under Folder -> Properties -> Sharing -> ...
Newbie - Need Script Direction
Rick Cass -
24 Jul 2006 4:04 PM - 3 messages
Would like to know where to start when trying to save a users default printer in active directory, so when users returns to the office their default printer is reset to thier last known good default printer. If anyone has ideas and or some scripts we can look at that would make our ...
Enumerating Domain Controller while not a domain member.
Mandoskippy -
24 Jul 2006 2:17 PM - 2 messages
I posted another topic similar to this here [link] In that topic I am trying to trouble shoot a specific problem based on Hey Scripting Guy articles. There has not been much response there, so ...
Registry Export Jscript
Paul -
24 Jul 2006 12:52 PM - 2 messages
Hello I need some help with this jscript below. I keep getting errors that my variable declaration is wrong and also the TRUE in line 4 is causing some issues. Any Help would be appreciated. Thank You, Var WSH = CreateObject("WScript.Shell"); ...
DNS- Append Parent Suffix
Teki -
24 Jul 2006 6:58 AM - 5 messages
Greetings, I would like to push a script that would remove the check from the "Append Parent Suffixes of the Primary DNS Suffix" box. Here is the registry entry: Reg.SetDWORDValue HKLM, System, CurrentControlSet, Services, Tcpip, Parameters, "UseDomainNameDevolution", 0. ...
Suppress automatic reboot
Ken Manohar -
23 Jul 2006 3:16 AM - 3 messages
Hi Good Day, My objective is to upgrade an application on approximately 200 Windows XP machines. I want to replace Microsoft ISA 2000 Firewall Client with Microsoft ISA 2004 Firewall Client. The trick is not to interrupt the user. I'm using a script from ...
|
|||||||||||||||||||||||