Posts

Showing posts from January, 2011

How to import CSV to add different users to different group in one time??????

hi, simple question cannot search answer, so ask here. created 50 new ad global groups , each group has different membership, can add users groups powershell in 1 time? could you kindly give me script template can run? thanks. i.e. import csv group name, members gp001, has member a1, a2, a3 gp002, has member a1, a2, a4 gp003, has member a1, a3, a4 if rename csv header "group name", "group", code work.  $csv = import-csv groups.csv foreach ($line in $csv) { $memberarray = $line.members -split '\s*,\s*' add-adgroupmember -identity $line.group -members $memberarray -whatif } note:  never idea have spaces in header of csv. grant ward, a.k.a. bigteddy Windows Server  >  Windows PowerShell

MSI Deployment Hit or Miss

i have question in regards deploying msi packages via gpo.  i using server 2012, , trying automate lot of administrative installation work.  i have had success software installations using computer config > software installation feature in gpmc, seems hit or miss. i have installed known published apps such chrome, adobe, , anti virus.  however, if try use third party msi's or exe msi converters - have no luck. are there elements msi packages must i'm missing?  unfortunately, there lot of apps want automate in form of .exe such firefox. also, there known tools on this? thanks! > there elements msi packages must i'm missing? >   unfortunately, there lot of apps want automate only > in form of .exe such firefox.   for firefox: http://www.frontmotion.com/fmfirefoxce/download_fmfirefoxce.htm   for others: joseph pointed out, deploy msi gpo msi must install silently. when special parameters provided (i remember itunes requiring standalone

Two questions about File Server Migration Tool (disk space and share permissions)

i use file server migration tool migrate shares windows 2003 sorurce file servers windows 2008 target file servers. in cases, files have been migrated target file servers using robocopy before run fsmt migrate file shares: so, replace string "<tdc>false</tdc>" "<tdc>true</tdc>" in .xml file used fmts let wizard use files in place, , workaround working well. now, have 2 problems: 1. if files on target file server, on target file server there not enough free disk space accomodate files on source file servers, ans wizard stops during validation error "not enough space available on target file server": there way bypass free disk space check? 2. if on source share permissions listed disabled account, after finalize share created on destination file server, permissions removed (the folder shared local "administrators" group full control) thanks lot roberto hi, whether accounts in domaina migrated domainb? h

Lost shortcuts for "Administrative Tools"

hi, i've installed win server 2008 (entreprise, x64) recently , have done annoying mistake when trying organize start menu; noticed "administrative tools" both in "programs" part , in "control panel" part of start menu, decided remove folder in "programs". i acted fast, , did notice entry in "control panel" shorcut pointing folder of programs removed! hence now, when try reach admin tools control panel, have following message box: [window title] location not available [content] c:\programdata\microsoft\windows\start menu\programs\administrative tools refers location unavailable. on hard drive on computer, or on network. check make sure disk inserted, or connected internet or network, , try again. if still cannot located, information might have been moved different location. [ok] so here am, now, unable access these administrative tools easily. is there way these shortcuts back? alternatively, of guys zip "start menu\progra

Unable to Partion on Unallocated Space

i have server raid 5 configured max drive space of 2793.00 gb available windows standard server 2008 r2. during installation of windows server standarad 2008 r2, created os partition c: , allocated 2 tb of space. what discovered through mmc disk management following; system reserved 100mb c:\ 2048 gb unalocated: 745 gb the unalocated space has no available options utilize , when viewing options on c drives, there no ability extend or partition unalocated space, there reasonable solution make use of space without having re-install os?   thanks shailesh   shailesh chauhan unfortunately, no. because mbr initiallized drives can handle max 2tb. larger volumes, youll have use gpt ( http://en.wikipedia.org/wiki/guid_partition_table ). unless use uefi instead of bios, windows wont allow gpt boot drive. there no build in tools can convert drive loseless mbr gpt. when decide setup again, either use uefi bios mode if motherboard supports or try expose smaller boot drive

Viewing Sharepoint Groups and Group Membership

Image
i created following view\export groups\group members sharepoint site. function get-spgroups {      param(           [microsoft.sharepoint.powershell.spwebpipebind]$web      )      $spweb = $web.read()      $spweb.sitegroups | select name,users | out-file c:\file.txt } get-spgroups -web "http://siteurl"  the output looks this: name                                                           users                                                         ----                                                           -----                                                         approvers                                                      {contoso\andyj, contoso\annal, contoso\annew, contoso\domai... i'd see users limited first 4.  i've tried setting $formatenumerationlimit 10 same results.  i've tried using export-csv but it only displays "microsoft.sharepoint.spusercollection" users object.    ideas on how expand users?  i

DNS Subordinate Domain for internal AD domain

Image
i having issues resolving public webpage on parent domain inside ad domain.  i have public domain mydomain.com and active directory domain of location.mydomain.com for internal domain.  when inside network connection internal domain public webpages won't resolve.  everything works fine outside of network same machines.  i have been beating head against wall trying figure out missing.  does have insight can resolve this? hi, add dns server's ip address of 'domain.com' in conditional forwarder.let conditional forwarder handle resolve of 'domain.com' best regards, cartman please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com . Windows Server  >  Network Infrastructur

Wsus approving updates without set rules

hi, i'll start background story. i created new rule '' accept updates/install" created test pool. test pool supposed test pool receive updates before clients in company does, since 80% of machines ghosted found ourselves duplicated sid. in other words, updates sent pratically computers. things did stop : immediatly removed computers in test pool , deleted rule ''accept updates/install''. problem : the major problem here, after deleting rule, wsus server still seem approve updates randomly , computers. since have duplicated sid doesn't , it's pratically impossible control which updates install computer. i've run reports approved updates , weird thing here is, not approved our wsusadminacc nor other administrator, approved wus server ( have no idea is, seems me it's wsus server ). it's getting chaotic here, since updates causing error , force restart, isolated our wsus server now. does deleting rule, revert does? doesn't seem m

moving PC to new OU not working

i need run script on workstations. script run @ workstation service tech.   there no rsat tools.  i need make script move machine run new ou in ad.  i have code. $computer = get-content env:computername  $getou = 'ou=clinical,ou=main campus,ou=workstations,dc=acme,dc=org' $dom = [system.directoryservices.activedirectory.domain]::getcurrentdomain() $root = $dom.getdirectoryentry() $search = [system.directoryservices.directorysearcher]$root $search.filter = "(cn=$computer)" $result = $search.findone() $computertomove = [adsi]$result.path $computertomove $computertomove.psbase.moveto([adsi]"ldap://$getou") when run code following error. exception calling "moveto" "1" argument(s): "there no such object on server. i've run on workstation , know in ad.  in fact put print-statement after each variable above , every line of code works , shows me machine is.  it last line fails.   how come?  when workstatio

Doozie of a networking question

ok, possible, way. i have physical box 2 nics on 2 seperate networks.  lets call them 10 , 192. is posible run 2 virtual nics , have them come out 1 physical nic?   if not, possible 2 run 2 physical nics mapped each virtual?   if so, how prepare host p2v import on that?   thanks! hi,   unfortunately, can’t concern completely, please elaborate more.   if running hyper-v, recommend dedicate 1 physical network adapter hyper-v host communication. if want create 2 external virtual network, can check “allow management operating system share network adapter” box when create external virtual network 1 of physical network adapter.(if check box on both external virtual network, 2 virtual network adapter hyper-v host, can ignore box another)   for more information hyper-v networking, can refer to:   understanding networking hyper-v http://blogs.msdn.com/virtual_pc_guy/archive/2008/01/08/understanding-networking-with-hyper-v.aspx   how basic networking w

Windows Server 2008 32 bit Event ID 6008

dears, can u plz advice me regarding issue, i'm suffering since 3 months event , have tried update server latest update still same. no memory dumps generated. hardware hp server ml350 g5 please check event :  <event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <system>   <provider name="eventlog" /> <eventid qualifiers="32768">6008</eventid> <level>2</level> <task>0</task> <keywords>0x80000000000000</keywords> <timecreated systemtime="2011-05-08t06:01:49.000z" /> <eventrecordid>113842</eventrecordid> <channel>system</channel> <computer>alarabid-sh.alarabidshj.local</computer> <security />   </system>   - <eventdata>   <data>9:57:31 am</data> <data>5/8/2011</data>

WMI events is don't work

hi! i try monitor service state through wmi intrinsic events. purpose have made the next vbs scripts: 'wmi event filter creation script option explicit on error resume next dim strcomputer dim strnamespace dim objservice dim objeventfilterclass dim objeventfilter strcomputer = "." strnamespace = "root\cimv2" set objservice = getobject( "winmgmts:\\" & strcomputer & "\" & strnamespace) set objeventfilterclass = objservice. get ( "__eventfilter" ) set objeventfilter = objeventfilterclass.spawninstance_() objeventfilter.name = "monitoringservices" objeventfilter.querylanguage = "wql" objeventfilter.query = "select * __instancemodificationevent within 1 targetinstance isa 'win32_service'" objeventfilter.put_() 'event consumer creation script option explicit on error resume

Having Problems connecting to Windows Server 2008

with windows 7 , server local "myserver.local".   when running windows 7 ulmiate , when adding domain locally , said..........   an active directory domain controller (ad dc) domain "kyle75675.local" not contacted.   ensure domain typed correctly.   what wrong. server connected , on , running router , computer running router too.   how can fix this? hi vansers ,   thanks posting here.   is issue occurred on other client computers? can computer correctly resolve myserver.local domain on client side? might perform “nslookup myserver.local ”to check if return correct address.   meanwhile, please post content in host file (%systemroot%\system32\drivers\etc\hosts) on client , “ipconfig  /all” result of dc , client further  investigation.   troubleshooting failure locate domain controller when attempting join domain http://technet.microsoft.com/en-us/library/bb727055.aspx#eaaa   thanks.   tiger li please remember click

Roaming Profile

dear all, i had configured roaming profile on primary domain controller. backup, had created secondary dc. my question - if primary dc fails, how romaing profile work ? i think if had configured profile path on domain user properties, user not face problem. if had userprofiles folder, on primary dc user not profile , user login temp profile. am right? please let me know. as can possible problem face in respect of  roaming profile, if primary dc fails? thanks , regards, param thanks & regards, param - mcse, ccna ( http://paramgupta.blogspot.com ) hello, if server holding profiles down, how access data located on machine? need solution san example cluster used access data if 1 of cluster nodes down. best regards meinolf weber mvp, mcp, mcts microsoft mvp - directory services my blog : http://msmvps.com/blogs/mweber/ disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights.

Windows Update Server 2008 R2 Std

windows update cannot check updates, because updates on computer controlled system administrator ps. have approved updates 1 server got updates, other 8 servers have not updated and when @ wsus console the 8 servers sitting on 96% installed. zakaria khan hi, first thing determine servers configured use wsus server. second thing determine servers querying against target group updates have been approved installation. third thing determine servers detecting availability of updates. (obviously not happening, fault either @ step or before.) all of necessary diagnostic information determine above found in %windir%\windowsupdate.log, let's try this: 1. pick 1 machine diagnostics. 2. note time. 3. restart automatic updates service (net start/stop wuauserv), or reboot server. 4. run command  wuauclt /resetauthorization /detectnow 5. wait 30 minutes. 6. post contents of %windir%\windowsupdate.log starting @ time recorded in step #2. r

Fetch KVP of VM running on another node

hello, i having 2 node cluster running windows 2008 r2 - hyper-v enabled. (node1, node2) now, when try fetching kvp of vm running on node2 node1 blank response using below code, when try fetch kvp of vm running on node1 correct results. why behavior or code needs changed ? please help. filter import-cimxml{ $cimxml = [xml]$_ $cimobj = new-object -typename system.object foreach ($cimproperty in cimxml.selectnodes("/instance/property")){ $cimobj | add-member -membertype noteproperty -name $cimproperty.name -value $cimproperty.value } $cimobj } $vm = get-wmiobject -computername node2 -namespace root\virtualization -query "select * msvm_computersystem name='98238abc-b7ed-499a-a8be-4e7f32dd3284'" $kvp = get-wmiobject -computername node2 -namespace root\virtualization -query "associators of {$vm} assocclass=msvm_systemdevice resultclass=msvm_kvpexchangecomponent" $guestkvp = get-wmiobject -computername node2-namespace root\virt

GPO: Favorite in IE apply second time logon, or with gpupdate /force

hi, gpo: favorite in ie apply second time logon, or gpupdate /force. have gpo shall set favorites ie, problem not apply @ once. if run gpupdate /force favorites pup up. i have done debug logging gpo , find this: psvc(4c8.13ec) 13:10:39:428 readmembershiplist: old count 11 different current count 21 gpsvc(4c8.13ec) 13:10:39:444 processgpos: logging data target <testskola3>. gpsvc(4c8.13ec) 13:10:39:444 gplockpolicysection: sid = s-1-5-21-824185358-1205079973-2553197198-69385, dwtimeout = 30000, dwflags = 0 gpsvc(4c8.13ec) 13:10:39:444 lockpolicysection called user <s-1-5-21-824185358-1205079973-2553197198-69385> gpsvc(4c8.13ec) 13:10:39:444 sync lock called gpsvc(4c8.13ec) 13:10:39:444 writer lock got immediately. gpsvc(4c8.13ec) 13:10:39:444 lock taken successfully gpsvc(4c8.13ec) 13:10:39:444 taking console lock timeout 30000. gpsvc(4c8.13ec) 13:10:39:444 sync lock called gpsvc(4c8.13ec) 13:10:39:444 writer lock got immediately. gpsvc(4c8.13ec) 13

Window frame shadows missing - can they be enabled?

i realize sounds silly question...but have application developed on desktop os colors main windows , popup modals. aesthetic when modal has shadow around it, complete nightmare when installed on ws2016e since modals "disappear" in background window since frame shadows not present. is there way enable window frame shadows on ws2016e? i'm aware of 2 ws2016e installation options regard desktop experience (or not) and not sure have installed. guess outside affirmative answer first question, need know how to determine whether have "core" or "desktop experience" installed. found answer yes, shadows can enabled same desktop os (provided desktop experience installed). apparently "shadows under windows" not default on ws2016e whereas default under desktop os. note issue me modals not have frame different color main portion of panel. without shadow appear rectangle same color background window (when no data present). user experience expects

Build 10130 DONE!

Image
fast track 29/5/15 well, 10130 done & begins voyage of discovery... 45 minutes time, again.  no issues, @ which, of course, we, always, want & hope. cheers, drew drew ms partner / ms beta tester / pres. computer issues pres. computer issues www.drewsci.com wow!! jumplists in build (10130) ever nice!!  huge improvement there! , if prior build thought fast & snappy, well, ha!  now, look... also, windows administrative tools folder added start menu/apps , 1st seen in build 10122; brilliant what's in there & located sensibly together. cheers, drew drew ms partner / ms beta tester / pres. computer issues pres. computer issues www.drewsci.com Windows 10 Insider Preview  >  Windows 10 Insider Preview General

RDP to WiFi connected Windows Server 2012 RC

hi all, i've got windows server 2012 rc , running, can't connect other system through rdp when w2k12 server connected on wifi interface. can see rdp client gets response on server self if try connect loopback adapter. wifi interface manually configured , works fine else :o when box connected lan interface rdp connection works fine. i'm curious if else has experienced similar issues? mikhail resolved. it wasn't w2k12 related issue, router went crazy on ip of w2k12 box. mikhail Windows Server  >  Windows Server 2012 General

WSUS 3 SP1 : Clients completed are not displayed in the WSUS interface

we have infrastructure 3000 windows updated wsus server our problem unable see clients have installed updates i have found question on several forums no answer know thanks in advance, fabrice ok, think may have found answer there : http://social.technet.microsoft.com/forums/en-us/winserverwsus/thread/b6696231-612b-46c9-9b19-245a086d9595 the operating systems clones of master 2 reg keys needed removed tahnx support, update topic have confirmation Windows Server  >  WSUS

Tool to backup and restore share and NTFS permissions

i in process of migrating data from a file server in domain file server in different domain. using robocopy migrate data , exporting shares manually file server registry.  i researching tool can backup both share , ntfs permissions on root folder (and subdirectories) in source domain , restore them in target domain.  have not looked subinacl yet know not supported on server versions after windows 2003. prefer powershell have run issues long filenames during testing phase. powershell script looks this: get-childitem -path g:\dept -recurse | where-object {$_.psiscontainer} | get-acl| select-object path -expandproperty access | export-csv c:\scripts\tony\acl-dept-ntfs.csv both servers running windows 2008 r2 they'll on here powershell. https://social.technet.microsoft.com/forums/windowsserver/en-us/home?forum=winserverpowershell       regards, dave patrick .... microsoft certified professional microsoft mvp [windows server] datacenter management disclaimer:

Server 2012 - Connectivity issues - "This page can't be displayed"

i'm trying , running on server 2012 1 host server , 2 virtual machines. on instances i'm having issues connecting external servers. example, if go crashplan.com or acronis.com, "this page can't displayed" message. can connect other sites fine (e.g., cnn.com). when fire telnet behavior same... "telnet crashplan.com 80" gets "could not open connection host", while "telnet cnn.com 80" returns html. i not believe dns issue since nslookup resolves fine. i've tried disabling ie protection , firewall no avail.  i have dependencies on external services unreachable, major showstopper. problem same on 3 machines (1 host + 2 virtual). no other machines in lan have problem. thoughts? thanks in advance tim have checked ie settings?  have tighter default security earliers releaases of ie?  web sites things behind scenes not obvious, difference in settings possibly change results. for telnet, have checked telnet settings? 

terminal server 2008

terminal server 2008 running slow , utilizing cpu 100% minutes @ time.. have maxed out memory upgrade and tried activate 2nd port on nic. please advise can do. struggling day day , not sure next. hi,     do run special application when issue happens? if so, please try “kill” process , test if issue still exists.   also, there tool called process monitor show real-time status related processes. can find process occupy major cpu recourse.   process monitor v2.94 http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx   meanwhile, please refer following hotfixes , updates issues occur in terminal services or remote desktop services environment.   recommended updates remote desktop services (terminal services) in windows server 2008 , windows server 2008 r2 http://support.microsoft.com/default.aspx?scid=kb;en-us;2312539       hope helps. Windows Server

GPO propagation

there gpo policy running on domain level. contains settings password policy , account lockout policy on domain level. gpo link disabled, guy disabled says domain policy password , account lockout settings applied lower containers , propagate down regardless whether disabled or not. seems bit strabge me. would agree statement? hello, the default domain policy (if referring to) should "enabled" apply. isaac oben mcitp:ea, mcse Windows Server  >  Windows Server General Forum

Failover Cluster Manager - Live Migration Settings - COM error

i've got new problem i'm hoping resolve. when try open live migration settings windows 8 machine rsat tools installed, error "com clsid error ... {b0ca44f2-1ffc-4bd1-8930-f4480301981b}". apparently server 2008 fixed copying 2 files (vmclusex.dll , vmclusex.dll.mui)  to windows 8 machine , registering vmclusex.dll, doesn't seem work 2012 because first vmclusex.dll doesn't exist, it's replaced vmclusres.dll , won't register. i'm running a hyper-v 2012 core cluster kind of want functionality available via windows 8 rsat tools. i've got new problem i'm hoping resolve. when try open live migration settings windows 8 machine rsat tools installed, error "com clsid error ... {b0ca44f2-1ffc-4bd1-8930-f4480301981b}". apparently server 2008 fixed copying 2 files (vmclusex.dll , vmclusex.dll.mui)  to windows 8 machine , registering vmclusex.dll, doesn't seem work 2012 because first vmclusex.dll doesn't exist, it's

NLB initiating convergence on host 2 because host 1 is converging for an unknown reason

hi - hoping somone out there can me bizarre issue has cropped twice in past week, following on 6 months of no issues.  of sudden, no-one can browse 1 of hosts, not web or unc using cluster name. i have 2 web servers (vmware guests) web01 and web02 .  each vm has 2 nics , in multicast nlb cluster name of web . at time of issue, these records appeared in system event log of web01 : nlb cluster [192.168.109.110]: nlb initiating convergence on host 1 because host 2 leaving cluster. nlb cluster [192.168.109.110]: host 1 converged host(s): 1. active member of nlb cluster , start load balancing traffic default host. default host host lowest host priority. handles traffic isn't covered of defined port rules here entry on web02: nlb cluster [192.168.109.110]: nlb initiating convergence on host 2 because host 1 converging unknown reason. does know why happen?  , more importantly, how stop occuring again? ==================================== here nlb display output