Posts

Read Only Domain Controller Group Policy errors

i have deployed our first read domain controller in our domain , getting following repeating event log error.  domain controller having issue , if related read role. log name:      system source:        microsoft-windows-grouppolicy date:          13/06/2011 20:44:58 event id:      1058 task category: none level:         error keywords:      user:          system computer:      description: processing of group policy failed. windows attempted read file \\<domain>\sysvol\<domain>\policies\{b126f80b-cb27-4105-8b9f-7743b870f546}\gpt.ini domain controller , not successful. group policy settings may not applied until event resolved. issue may transient , caused 1 or more ...

I need an alert to be sent if a function fails

hi all, i'm learning powershell (slowly) , have managed script working utilizes wevtutil.exe pull out event logs servers specify. the script creates temporary data-table store results of wevtutil , writes them directly sql database. the script iterates through server array , remotely connects each server - works expected. my last amendments ensure script run consistently @ times specify through windows tasks.  in fist instance i've added "test-connection" function execute commands if server responds , if not, send-email.  this ensure we're alerted when server offline. the last error checking want alert when server online script fails whatever reason (server timed-out, server switched off during run, etc). does know how can achieve this?  below current error checking code: #scriptname = eventlogcollection.ps1 $serverarray = ("server1","server2","server3") $serverarray | foreach { $server = $_ if(test-connect...

Need to invoke functions but can't escape from loop

i need write script check mailbox every 15 seconds new mail. i've made progress thinking forwards i'm gonna want run script against multiple mailboxes. it's this: function checkmail { start timer start loop get-messagetrackinglog -recipients $mailbox -eventid receive -start $start -end $end if $mailbox (not null){ stuff set null } sleep 15 seconds } # end function invoke function so script calls function runs infinite loop checking mailbox every 15 seconds. want check multiple mailboxes though , thinking same thing different functions , invoke them in 1 go @ beginning first 1 stuck in it's loop. there's fact can't use array mailbox variable because want change number of seconds wait on mailboxes wouldn't constant. any ideas how go this? in advance if there's going lot of mailboxes being  monitored, believe less stress on servers if use ews managed api, , subscribe new mail notification events on mailbox...

Displaying the User Name on the Microsoft Virtual Server Configuration Page.

how add 1 more column "user" master page ,so admistrator can understand user using virtual machine. right see columns 'remote view' 'virtual machine name' 'status' 'running time' 'cpu usage' .  want add 1 more column 'user' , display user name of user using virtual machine. hello, as marcin said better use: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.virtualserver best regards meinolf weber disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights. Windows Server  >  Directory Services

Folder permissions in 2008

i have issue opposite on found here, folders on server enterprise edition have read , write box checked , greyed out, when select box check dissapears , stays grey click ok reopen properties once again checked. happens when create simple volume , format etc create new directory in new e:. have tried asssigning co ownership , full permissions no avail. had read co owner had been removed have read or read/write permissions seems strange. is there command line force permisssions. did try icals /g got error wasnt recognised. sometimes answer blindingly obvious fail see it. sdog are administrator file server permissions?  besides removing owner, may need take on ownership of folders. check if server on domain, dont have gpo limiting permissions or activities can perform on server.  the greyed out boxes means dont have rights. check gpmc (or gpresult) if can draw out gpo's running on security of server (if on domain). boikanyo, systems administrator ...

Generic script to run batch command

hi, i have added generic script failover cluster windows 2008. need run batch command "iisreset" with script during online or failover. but command not work. did missed something? ---- function online( ) set wsshell = createobject("wscript.shell") wsshell.run "iisreset",1 online = true end function function looksalive( ) looksalive = true end function function isalive( ) isalive = true end function ---- thanks                    try natip,                @echo off rem - file: iisrestart.bat rem - description: restart's iis (web, ftp, smtp) rem - author: pete freitag rem - add rem comments if don't want restart rem - of services echo restarting iis... echo ====================================================== net stop "world wide web publishing service" net start "world wide web publishing se...

Basics of RD licensing count, windows server 2012, 10 unused licenses, 13 issued to Built-In Overused?

i have server showed these counts in rd licensing manager list (ignoring windows 2000 entry): windows server 2012 - installed rds per user cal program: open total licenses: 5 available: 0 issued: 0 keypack id: 7 windows server 2012 - installed rds per user cal program: open total licenses: 5 available: 0 issued: 0 keypack id: 4 windows server 2012 - installed rds per user cal program: built-in overused total licenses: 0 available: 0 issued 13 the firm set server (long gone) bought ten licenses, how interpret? does built in overused count 13 mean normal licenses not being used, , 13 sort of temporary licenses have been issued? license server , rd host both o windows 2012. the site has @ 10-12 users active @ time. other day person not log on;  think there ten listed users @ time; , after logged off disconnected user able log on. might guess need buy additional licenses...but, server 2012 rd license server stop issuing licenses after exceeds 10 in our case? want m...