Posts

Showing posts from June, 2011

Select-string on the result of select-string?

i'm dealing large text file, has multiple matches data i'm looking for. able use combination of -context piped select-object -first getthe exact, 20 line section of text i'm interested in.  i further select-string on result, never works. if get-member on the object, type microsoft.powershell.commands.matchinfo example: $hba = get-content c:\hba-info.txt $info = $hba | select-string -pattern "hba general information" -context 20 | select-object -first 1 $info hba general information     --------------------------------------------------------------------------------   --------------------------------------------------------------------------------   host name                         : hq1md17   hba instance                      : 0   hba model                         : qla2342   hba description                   : qla2342/qla2342l (pci fc dual channel)   hba id                            : 0-qla2342   hba alias                         :

Group policy to change connection-specific DNS suffix in Windows 2003 servers

hi there! i have 300 windows 2003 servers whith parameter connection-specific dns suffix (in tcp/ip configuration - dns)  against fqdn name of 1 of ours domains. i saw group policy modify this, supported windows xp. need solution modify configuration in 300 servers, gpo or script. how can solve this? thanks. dani gracia. hi, i have tested following script , works fine on windows server 2003, please try test on systems. download script , follow readme file. add connection specific dns suffix through command line http://www.dns-info.blogspot.com/2009/01/add-connection-specific-dns-suffix.html thanks. this posting provided "as is" no warranties, , confers no rights. Windows Server  >  Group Policy

Change device name in Remote Web Access

hello, how can change name appears on device list in remote web access without changing name of pc? thanks. i not believe can done.  you can update description field don't think shows on main screen. robert pearman cloud & datacentre mvp @titlerequired | linkedin | google+ facebook | windows server essentials.com Windows Server  >  Windows Server 2012 Essentials

adobe_pdf.dll

i installing adobe creative suite 3 web premium on windows server 2008 r2 foundations, during install pop window ("the file adobepdf.dll on windows vista cd-rom needed.") can not find adobepdf.dll,and not able find .dll instructions http://kb2.adobe.com/cps/401/kb401731.html suggests http://support.microsoft.com/kb/930627 . notes system tip this article applies different version of windows 1 using. content in article may not relevant you.  visit windows 7 solution center . tried hotfix anyway not function. additional notes reference manually extract adobepdf.dll_64 ( navigate folder contains setup.exe file acrobat 8 installation. locate file "data1.cab" , open (this may require third party compression utility, such winzip). inside content listings, locate file "adobepdf.dll_64" , copy desktop. run installer setup.exe , when prompt appears, choose browse , select file copied desktop. note:  if file cannot selected, change file type dro

WINS VS DNS

give me differences between wins , dns? plz do know netbios? old name resolution method relies on broadcast traffic. therefore limited 1 subnet , causes large amount of traffic on larger subnets. implies limit in amount of systems can connect. later, a central server designed work around these limitations. wins server resolves netbios names (like hostname) ip adress. how works explained on http://support.microsoft.com/kb/119493 dns, far more modern approach, uses central server beginning , has possibility make hierachical structure, domains. dns therefore suited support large environments (like internet). dns resolves qualified domain names (fqnd) hostname.subdomain.domain.tld ip. how works explained on http://technet.microsoft.com/en-us/library/cc958812.aspx wins important network infrastructure service in past, becoming depreciated. mcsa/mcts/mcp Windows Server

Copy Folder to Remote Computer ROBOCOPY.exe

i need copy folder location c:\scripts remote computer.  need copy same location. how can done using robocopy?? help? when try following got error, robocopy.exe \\ip address here\c:\  \\remote_coputer ip here\c:\   scriptfolder /e / np.   when try above cmd got path specified incorrect , logon failure bad pwd or username. how solve idea??     hi coolguy20,   if woule copy files under of c:\scripts folder, here’s example of robocopy command.   robocopy c:\scripts \\remotecomputername\share /e /sec /r:1 /w:1 /log:c:\robocopylog.txt /tee   i don’t recommend use /copyall paremeter copy owner information remote computer cause problem in future if current owner administrator on current computer or user doesnot exist.   i include log function save logs in c:\robocopy.txt file can check failures afterwards.   the /r , /w retry options, specify retry times 1 , wait time 1 second won’t stuck on retrying default setting retry times 1 million.   for more inf

Simplified Chinese (zh-cn) language pack

hi , i’m unable install simplified chinese (zh-cn) on “windows server 2012 r2”. - via dsim: error 1630, data of type not supported. - via lpksetup: “lp.cab not valid language pack. language pack might corrupted. last error: 0x8007065e. please download language pack file again.” the language pack downloaded official microsoft website: https://www.microsoft.com/oem/nl/installation/downloads/pages/windows-server-2012-language-packs.aspx#fbid=ciutvjp9b5v other language packs (from same download) are not corrupted. i’ve downloaded “windows server 2012” (instead of r2) , checked lp.cab edition , 1 bigger in size +/- 80mb (r2 lp.cab just 56mb). when select language pack in lpksetup i’m able load cab file system replies: “the language cannot installed on computer.” has experience this? can correct language pack? please let me know, yuri hi, >> i’m unable install simplified chinese (zh-cn) on “windows server 2012 r2”. - via dsim: error 1630, dat

For October patches, will the Security Only Update contain .Net Security patches?

as knows, ms changing server os patching single patch rollup starting october 2016. in article, break down 4 different rollup patches released: https://blogs.technet.microsoft.com/askpfeplat/2016/08/30/a-bit-about-the-windows-servicing-model/ we need understand if option 1 "security update -  collects of security patches month single update" contain option 3 " .net framework security-only update" ? option 1 use word "all" referring security patches, if taken literally, seem include option 3. but, way broke things 4 rollups, seem logical option 3 not subset of option 1, , you'd need apply both if wanted general os security updates , .net security updates. this important distinction of developers support , need definitive answer asap. thank you! brian i having query, did answer ?  security quality update included .net updates? no official answer, no documentation.  come on microsoft. based on internal testing we've don

Management of GPO with security filtering ?

hello, the staff of our principal domain wants limit number of ou in our ad. because of that, staff wants create 1 ou "workstations" , apply specific gpos depending on security filtering applied it. so, example, several gpos linked ou "workstations". one of them "gpo-restrictedgroups" , applied security group contain computers . the problem see kind of filtering local administrators not have ad management experience. indeed, in our ad, specify in front of each computer name of user associated in description field. in configuration, if want know computers in scope of gpo, have open security group associated, , see name , location of computer object, , nothing else (so not see description field). for me, gpo security filtering isnt fitted larges companies. what think ?  is there way improve gpo configuration without creating many ou ?  thank you as general question, i'm not big fan of having large flat ous , trying filter g

NPS + TLS + Authentication Denied

Image
hi, we using cisco wlc/lap/nps & intermitently facing connectivity issue after changed nps authentication chap tls. using smart card or other certificate whereas on client side have both user certificate & computer certificate installed. strange part time user able connect & sometime it's showing "attempting authenticate". wlc showing authentication request denied & nps not showing log. unable trace it's dening authentication request. dhiraj hi dhiraj, thanks posting here. >& sometime it's showing "attempting authenticate". wlc showing authentication request denied & nps not showing log. what os running on these clients affected issue ? mentioned using tls method in wireless connection guess peap-eap-tls .are using self-issued certificate or purchased third party ? how many certificate been installed on client side ? have set connection request policy on nps server ? as workaround , first deselect option “en

Problemas de acceso a aplicación web en windows 2008

no se si es aquí donde tengo que exponer mi problema. si no es así decirmelo y la cambio de foro. vale, os expongo mi escenario. tengo un 2008 enterprise en el cual tengo instalado el iis. tengo una pequeña aplicación web diseñada en visual studio. la web se utiliza para introducir datos traves de formularos una base de datos hecha en access. para poder acceder la web se utiliza un formulario de inicio de sesión, en el que pide usuario y contraseña. estos datos son controlados por la aplicación y no tiene nada que ver con los usuarios del ad. bien, el problema viene cuando intentan acceder muchos usuarios. llega un momento en que ya no me deja acceder la web. si reinicio el servidor vuelve funcionar o si entro en las propiedades de la carpeta - seguridad y vuelvo aplicar los permisos puedo acceder de nuevo. por si sirve de algo, os comento que aunque utilice un formulario de acceso la aplicación web, el usuario que accede la carpeta y archivos de la aplicación es el system. m

VPN server. Split internet and intranet tunneling

Image
after clients use virtual private network (vpn) connection log on server (windows server 2008 r2) running routing , remote access, clients may unable connect internet. understand can configure vpn client tcp/ip properties, , disable use default gateway on remote network setting in vpn dial-up connection item on client computer. have more 20 clients , live in diferent country's. , question, can server side ? server without ad , gpo. hi markogu, thanks posting here. >and question, can server side ? then can share internet connection @ server side coming vpn client procedures on rras server let access internet going thought internet connect @ server side instead own . can read procedures form old thread below: http://social.technet.microsoft.com/forums/en-us/winservernis/thread/8db49948-1962-408b-9996-4a9584b3500d/ using classless static routes dhcp option option have if issue address via dhcp. suggest customize vpn client specifying routing entries cmak , distr

BitLocker configuration GPO settings not propagating

i have windows server 2012 r2 environment. of clients windows 7 pro, windows 7 ultimate, windows 7 enterprise , windows 8.1 enterprise. i trying use group policy make sure tpm , bitlocker recovery information stored in active directory. have set policies according following document: "backup thetpm recovery information ad ds" i have following setup in group policy manager: default domain policy .... no bitlocker or tpm settings configured. encrypteddevices ..... policy "link enabled" ou, , "enforced".  scope includes groups "domain computers", "everyone", , "encrypted devices" (a security group containing test laptop). have verified permissions read , apply policy members of scope. in ad users , computers, test laptop in encrypteddevices ou. the problem: i able encrypt laptop, bitlocker recovery information did not show in active directory. used gpedit.msc view local security policy , bitlocker , tpm policy setti

How to not to enable the user accounts in one specify OU or sub OU?

hi. i know how find disable user account , enable user account in ous except few specific ous. i had search similar article:  http://social.technet.microsoft.com/forums/scriptcenter/en-us/6952a6d2-1532-4b2d-9927-b34cbc5982fb/ldap-searching-excluding-an-ou-from-the-search?forum=itcg and http://community.spiceworks.com/topic/243375-ad-search-that-excludes-a-ou i had try use ldap code link, unable query out sub ou want though had change searchscope 'subtree'. because company used server 2008, can used adsi ldap use powershell , information out active directory. $objsearch = new-object directoryservices.directorysearcher $datenow = get-date $domaindns = "server2008.com" #server 2008 $adpath = [adsi]"ldap://$domaindns/ou=test ou,dc=server2008,dc=com" $objsearch.filter = "(&(objectclass=user)(objectcategory=person)(samaccountname=test*)" $objsearch = $objsearch | {$_.properties.item("samaccountname") -notlike "

Security Event Log

a little frustrated here, windows security log on our server out of control. generating 250,000+ events in less day @ point prunes log. 80% of them logon/logoff events. have total of 35 users should generate less 100 actual tangible logons/logoffs (i know there other logon types). i understand there needs more records want in order provide useful information. current settings polar opposite making difficult parse kind of usable information out of mountain of data. if didn't care limited time, ridiculous logging 150mb of kerberos tickets , other minutia daily. if wanted store 6 months of logs require 27 gb of space. there must happy medium normal small businesses want useful information don't need forensic level logging. example, application log. noisy, can scroll through few days of events , pick out obvious problems need attention. thanks listening me whine :) , help/suggestions. hi, you may consider configure advanced security audit policy settings,there

Office 2016 ADMX Template files not getting replicated to other Domain controllers , Domain functional level is 2008

updated the office 2016 admx template files , not getting replicated other domain controllers . replication happening , dont see problem in dcdiag  ,  dfs being used replication . gpo changes getting replicated other domain controllers . appreciated am 03.02.2016 um 06:06 schrieb murugan5k: > gpo changes getting replicated other domain controllers .   check ntfs permissions.   mark -- mark heitbrink - mvp windows server - group policy   homepage: http://www.gruppenrichtlinien.de - deutsch gpo tool: http://www.reg2xml.com - registry export file converter   Windows Server  >  Group Policy

Migrating to another AD

hi all, we have main network few dcs @ few sites, exchange in datacenter on same domain etc. time ago bought company had own ad domain connected our networks via vpn, set trust etc. domain1 has got user accounts same names in domain2 (plus own) using single exchange in domain1 (so domain1 has users already).  now - want migrate/merge purchesed company domain (domain2) our main domain (domain1) questions are: 1. can we, , if can - warth, move/merge pcs/dcs/memberservers etc domain2 domain1 (specialy - can domain controllers in domain2)? 2. can files/folders permitions on fileservers in domain2 if want move data domain2 domain1 (just remind - have user accounts same names in dmain2 , domain1)? thanks you don't migrate dcs, setup new dcs in target domain cover sites source domain spread on today. may want migrate member servers maintain/preserve permissions - might case workstations - if can't re-installed instead. you migrate on groups , user objects, match

Bi-Weekly Spam Updates fail: "WindowsUpdate_80070643" "WindowsUpdate_dt000"

updates continue fail install.  server 2008 r2 sp1  exchange 2010 std.  had been working several months stopped updating on may 15th update mike nadelman this windows update issue. start here: http://answers.microsoft.com/en-us/windows/forum/windows_other-windows_update/windowsupdate-80070643-dt000/779082ac-0d34-4d64-9904-3482571f8e3c Windows Server  >  Windows Server General Forum

Storage Pool-Virtual Disk:Insufficient disk space - Can't copy files even though space is still available

hello, i've created storage pool on windows storage server 2012 r2, added virtual disk , mounted it, shared on network. far good.... i've assigned 6tb vhd. after copying 1tb of data, explorer stops error: "insufficient disk space". how fix it? regards, v. hi shytower, thanks post. may ask please check server manager , computer management make sure have enough space. please check event viewer, what's event log? and create space, mirror or parity space?  please check column information. here article take look. http://social.technet.microsoft.com/wiki/contents/articles/11382.storage-spaces-frequently-asked-questions-faq.aspx#why_do_i_have_a_low_capacity_warning_even_though_i_still_have_unused_pool_capacity best regards, mary please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com .

Drive letter and mount points before cluster creation

scenario: win2k8r2 failover cluster 2 nodes. storage available san. witness: mns share on file server i'm creating sql 2008 r2 cluster uses mount points. is nessesary following before can create cluster , add disks: node 1: bring disk online in disk management node 1: ensure disk has appropriate drive letter, , can access disk/files node 1: bring disk offline in disk management node 2: bring disk online in disk management node 2: ensure disk has appropriate drive letter, , can access disk/files node 2: bring disk offline in disk management i'm told if don't ensure disk has appropriate drive letter , mount points before add cluster, can trouble. the disk(s)  must formatted (ntfs).  drive letters since clustering pick them , make them available across cluster. you need bring disk(s) online on 1 node formatting.  not matter node.  can change drive letters , mount points on node , information propagates clusterwide.  under windows 2003/2003r2, moun

Schema missing from ADMT User properties

i have installed admt 3.2 , have established trust domain. have imported schema new domain. when list  of objects properties exclude - not see of new custom schema objects?  nor migrated.  hi, i have imported schema new domain. we cannot export import schema 1 forest another, if want able use customized attributes in new forest, must create customized attributes manually. but when list  of objects properties exclude - not see of new custom schema objects? nor migrated.   admt design migrate predefined attribute in schema, customized attributes not migrated. more information you: admt ssox https://social.technet.microsoft.com/forums/en-us/573bfa77-9bd6-40f2-a333-aabccc9d9049/admt-with-ssox?forum=winserverds best regards, amy please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com . Windows Server

ADFS logon issue when logon from an external domain

hello! i have following configuration: domain testad.local, adfs 2.0 server installed claims-aware application in other domain (lets production.com) user accounts stored in ad in testad.local when logon claim-aware application pc in testad.local domain - works fine but if try logon application production.com domain logon failed , receive following errors: 1)in security log on adfs server event 4625 account failed log on. subject: security id: null sid account name: - account domain: - logon id: 0x0 logon type: 3 account logon failed: security id: null sid account name: vyunov account domain: testad failure information: failure reason: an error occured during logon. status: 0x80090302 sub status: 0xc0000418 process information: caller process id: 0x0 caller process name: - network information: workstation name: wsm7 source network address: - source port: - detailed authenti

Unable to backup W2K8 R2 SP1 server using BackupExec 2010 - Environmental Problem??

since rebuilding our fileserver february , upgrading os w2k8 r2 (from w2k3 - not in-place upgrade) have been having problems backing files , folders using symantec backupexec 2010.  job runs , after random amount of time job hang, job rate drop , no more data backed up. i have been working extensivly symantec try , establish cause , fix problem.  symantec think might environmental on server causing issue - never had issue when server running w2k3 r2. as example, started job last night , manage job rate of around 500mb/min.  have been forced cancel job because hung.  have re-run backup job removing problem server selection list , whilst backing w2k8 r2 sp1 server getting ~2000mb/min there nothing strange setup (as far can see), 3 folders containing documents on 2 seperate volumes, no dfs, server running fsrm , have disabled ipv6 thought causing issue. can think of thing environmental windows might causing such issue? hi, as backupexec 2010 work fine other windows 2008 r2

Pushing the Trusted Root Certificate through GPO

hi, i pushed trusted root certification authority certificate workstations through gpo. in few of work stations certificate manually installed. in these work stations same certificate showing twice(manually installed 1 , 1 pushed through gpo).        now question is, 1) there anyway rewrite certificate if present while pushing gpo?    2) if removing group policy trusted root certification authority certificate removed? 3) there way permanently install  trusted root certification authority certificate across work stations? please me. regards, chaitanya                       hi,   might not able rewrite certificate in case. knowledge, long thumbprint each certificate different, end double entries. if same, certificate added once.   should not need worry duplicate entries won't create issue. if remove group policy, certificate got pushed not removed.   regards, ethan hua please remember mark replies answers if help, , unmark answers if p

Trust Relatinship

hi all , i have two domains a and b , each in a different forest . it migrate from to b , but not going to migrate the entire domain , say they are separating . both domains are already @ network , and configured the conditional forwarders .   to create   trust relationships and administrative users with the least privileges for all work . now the questions are: - kind of relationship of trust is needed , unidirectional or bidirectional . - when create the trust relationship , asks user name and password create it , this user must an admin . domain ? ? that role would worth minimum to create relationship ? thank much . - kind of relationship of trust is needed: depends on requirements of migration - following requirements 'require' two-way trust (assuming you're going use active directory migration tool - admt): ability rollback e.g migrate resources, users , groups targ

RDS Virtual Desktop - Unmanaged Collection

i tried create unmanaged collection user profile disk - instructed in support documents. i prepared several vm 2 appears in selection list - win 7 , win2012 - other win7/win8 had been sysprep not listed -- first question: requirement of target vm/os? i created collection vm - win7 cannot connect i added win2012 collection , connection succeed vm (user data created on user disk) so here comes question ii: requirement of target vm/os of kind of collection -- working windows server edition? thanks, leon li hi please see following link, http://blog.itvce.com/?p=1569   best regards, Windows Server  >  Remote Desktop Services (Terminal Services)

The Desktop Window Manager was unable to start because a composited theme is not in use.

Image
hello, i have same issue 1 of hyper-v virtual server. installed windows 2008 webserver r2. have issue time rdp not respsonding seems processing not getting connected. have checked , following event found..that should related ?? "the desktop window manager unable start because composited theme not in use" event id 9003 i restart server , after able connect server throug rdp. please me out !! shailesh chauhan hi, thanks posting. do use remote desktop connection /admin switch? the remote administration mode in windows server 2008 has been optimized administration. features intended purely better user experience such themes have been disabled since these not necessary administration of server. you may refer article check that: changes remote administration in windows server 2008 http://blogs.msdn.com/b/rds/archive/2007/12/17/changes-to-remote-administration-in-windows-server-2008.aspx for more information please refer following ms articles: what

DC diag error

starting test: ncsecdesc    error abc\enterprise read-only domain controllers doesn't have       replicating directory changes       replicating directory changes all       replicating directory changes in filtered set    access rights naming context:    cn=schema,cn=configuration,dc=presidency,dc=gov,dc=eg    error abc\enterprise read-only domain controllers doesn't have       replicating directory changes    access rights naming context:    cn=configuration,dc=abc,dc=gov,dc=eg    error nt authority\enterprise domain controllers doesn't have       replicating directory changes in filtered set    access rights naming context:    dc=abc,dc=gov,dc=eg    error abc\enterprise read-only domain controllers doesn't have       replicating directory changes    access rights naming context:    dc=abc,dc=gov,dc=eg    ......................... primary-dc failed test ncsecdesc ibrahim waz if have not run adprep /rodcprep , dcdiag.exe return

Blocking files/software via GPO: Possible to block .fon and .lnk files from being executed?

Image
hi all, as per topic, possible block .fon , .lnk being executed based path or hash rule in gpo?   thanks have tried implementing file screen resource manager. or check out link:  http://technet.microsoft.com/en-us/library/cc754163.aspx every second counts..make use of it. Windows Server  >  Group Policy

OCSP

is ocsp responder checking certificate status against crl/deltacrl or ca database? if it's against crl/deltacrl isn't there still possibility ocsp response valid although certificate may have been revoked? thanks, paul per last point, talking ocsp servers in general. microsoft uses crls make revocation decision. tumbleweed uses direct connection ca database what need remember 2008/2008r2 ocsp responders built increase performance of revocation checking, not timeliness of revocation response. the ocsp server never ca publish new crl. if there no cached crl, online responder check see if updated crl exists. brian Windows Server  >  Security

only 1 of 3 dcs allow logon

i have 2003 network 1 2003 sp2 dc , 2 2008r2 dcs.  global catlogue, dns-integrated.  when 1 2003 dc taken off line, no one(user or administrator) can log on domain.  fsmo operators on 1 of 2008r2 dcs. can't proceed upgrade 2008r2 without dcs functioning correctly , authenticating logons.  have been wrestling 10 days no luck.  body got ideas? the authentication performed dc locate dc dns required. considering earlier dc windows 2003 & transferred windows 2008 r2, did make new 2008 r2 dc time server too, if not have because dc holding pdc fsmo role should time server. dns reason, considering windows 2003 servers dns has been defined in clients nic & when switch off same dc, clients can't find other available dc, since there no dns specified point clients new dc/dns authentication.specify, domain clients(systems/servers/applications) point windows 2008 r2 machine in nic preferred dns server & alternate dns server other dc's in network. use local dns in cl

Group Policy Drive Mapping Help

Image
i trying map network drives through gpo.  i use groups this.   have been using aduc target right user , map network drive.  the problem facing drives dosnt seem mapping.  anyone know how can find out problem is?  i did gpresut /v    i noticed policy being applied no drives being mapped. hi, group policy preferences, new windows server 2008 operating system, include more 20 new group policy extensions expand range of configurable settings within group policy object (gpo). system requirement use group policy preference: install the set of client-side extensions (cses) on client computers. supported operating systems: windows vista rtm or later, windows xp service pack 2 or later, windows server 2003 service pack 1 or later download locations: windows vista (x86): http://go.microsoft.com/fwlink/?linkid=111859 windows vista (x64): http://go.microsoft.com/fwlink/?linkid=111857 windows xp (x86): http://go.microsoft.com/fwlink/?linkid=111851 windows xp (x64):

Setting up login message

i have set login message in gpo.  set interactive login: message text... , interactive login: message title... language want in there.  gpo set authenticated users.  unfortunately, popup never appears when logs in.  how make message pop @ login? thanks russ the policy setting located in 'computer configuration\windows settings\security settings\local policies\security options' * interactive logon: message text users trying log on * interactive logon: message title users trying log on as wilson said, ensure gpo linked ou-structure containing computer objects. confirm gpo-link enabled, , computer configuration settings hasn't been disabled in gpo. if gpo has been linked above computer object, there additional ou-levels between gpo-link , computer has been marked 'block inheritance'? if so, gpo-link nead either linked blocking ou or marked enforced break through blocking ou. use rsop.msc on client expected have policy , browse down policy setting see if it's conf

Cannot get the current state of MsRdpClient session

dear team, i'm using msrdpclient connect remote machine through web. wanted capture current stage of msrdpclient session. instance, if session locked user, wanted alert " session locked". have tried "iwrdsprotocolmanager.notifysessionstatechange()" method doesn't give expected result. can me it. in advance. -vinay kalyankar. hi vinay, posting in windows server forum. preparing particular software or application network? seems looking developing something. not software developer expert, can suggest go through beneath article detail.  1.  providing rdp client security 2.   extending microsoft's terminal services client provide seamless windows 3.   multi rdp client .net other can place comment in our msdn forum can guide better regarding development. hope helps understand! thanks, dharmesh Windows Server

How to use -like for string in uppercase and lowercase

hello i using following if else statement functionality same type of text i.e. cached. there way use 1 common statement? if($oldfilename -like "*cached*") { $oldfilename=$oldfilename.replace('\cached','') } if ($oldfilename -like "*cached*") { $oldfilename=$oldfilename.replace('\cached','') } its regex need 2 "\\" replace one. ' \\cached\mydocuments\ak.txt ' -replace '\\\\cached' \_(ツ)_/ Windows Server  >  Windows PowerShell

find all users start menu "startup" folder

i'm writing scripts of our post-domain-join server builds (we build lot of servers)  part of script have create shortcut batch file runs bginfo when user logs in... how can find allusers startup folder?   i know on w7/2008 it's here: c:\programdata\microsoft\windows\start menu\programs\startup   and on 2003 it's  c:\documents , settings\all users\start menu\programs\startup   is there safer way find it, means of environment variable or fancy .net trick? i need little more "universal"   here's did.   $strallusersprofile = [ io.path ] :: getfullpath( $env:allusersprofile ) $objshell = new - object - com "wscript.shell" $objshortcut = $objshell .createshortcut( $strallusersprofile + "\start menu\programs\startup\bginfo.lnk" ) $objshortcut .targetpath = "\\srv\applications\bginfo\bginfo.bat" $objshortcut .save()

Multiple AGPM servers in a single domain

i had question around adding multiple agpm servers single domain. understand in agpm deployment documentation says: note    ensure each domain served 1 agpm server. not let multiple agpm servers serve same domain. but actual negative effect of having multiple agpm servers in single domain? assume attempting take control of same gpo multiple servers? if case, , run agpm least privilege access , can control gpo's give service access to, still issue? or there other factors need considered? hi, think right , ownership of gpo may main limitation. however, according gunter’s reply in similar thread , mentioned seems working if use different agpm service accounts each one, please see details from: https://social.technet.microsoft.com/forums/windowsserver/en-us/24f33fc6-d496-457f-a4d3-f697f9b8e085/agpm-in-a-delegated-environment?forum=winservergp please make sure test firstly before deploying production environment, , microsoft suggested keep 1 agpm server in do

User removed from AD group

hi we running 2003 ad. auditing enabled on dc's. we have security group, , someone/something keeps removing user group. i figure can run eventcomb on our dc's find out who/what did this, have no idea search for... there ms link here security events: http://support.microsoft.com/kb/174074 if user user1 , group group1, know should entering in event comb find out did this? assuming have account management audit enabled, can find relevant event ids at http://technet.microsoft.com/en-us/library/cc737542(ws.10).aspx  (details depend on group type) hth marcin Windows Server  >  Directory Services

RemoteApp (SAP GUI) windows are sometimes losing focus with screens that pop-up

hello all, we've started migrating of our servers microsoft windows server 2003 , microsoft windows server 2008 microsoft windows server 2008 r2, we're encountering issues while using remoteapp. every few minutes application loses it's focus , once people unable continue work. pressing ctrl-alt-end , pressing cancel solves issue , works workaround unacceptable solution, because happens every few minutes. i've read on fact has z-ordering , wondering if there fix issue yet. things we've tried: - installing microsoft updates - installing sap gui (7.20) patch levels , hotfixes - various registry edits discussed in various topics on forum: http://social.technet.microsoft.com/forums/en-us/winserverts/thread/0a88919f-2d72-4340-abd7-fbe0e9545f25 http://social.technet.microsoft.com/forums/en/winserverts/thread/524cfad2-c31b-45af-beac-ab09641 http://social.technet.microsoft.com/forums/en/winserverts/thread/4e86e128-1339-457f-8e37-73c090b95cd5 we know

Server 2003 Cluster With SQL to Server 2008 R2

i have 2 node server 2003 cluster sql 2005 move 2008 r2 2 node cluster. using same san hardware has sql databases. have been looking @ site info on how this: http://technet.microsoft.com/en-us/library/cc754481(ws.10).aspx can suggest other sites @ research on project? thanks! how kb article: how migrate sql server 2005 service pack 2 failover clustered instances windows server 2003 service pack 2 windows server 2008 http://support.microsoft.com/kb/953200 visit blog multi-site clustering Windows Server  >  High Availability (Clustering)

GPO Set Office Word Workgroup Template Location

i trying set word workgroup template location gpo. we in server 2003 domain xp , windows 7 clients. a mixture of office versions 2003/2007/2010. i have read can use appropriate office version adm , admx this. i tried creating new gpo object , adding adm (both 2007 , 2010) . adm office setting can't find "shared paths" setting configures templates   file locations. i have tried admx same outcome. where find "shared paths" setting , have been wrong. thanks ok, my mistake i using word specific adm (word14.adm)  and not full office adm (office14.adm). added office adm , have settings thanks Windows Server  >  Group Policy

Limits to GP Preference Drive/Printer Mapping

i @ place have 60 remotes sites can have anywhere 3-5 mapped printers each, 5-10 mapped drives.  our ou structure such that, breaks site below.  wondering there practical limit how many printer maps should have in 1 gpo item (likewise drive maps.).  if plan to create one gpo @ workstations ou level contains a gpp printer maps, possibly looking @ hundred or printers in 1 gpo.  facilitate this, use ilt based on netbios name wildcard (as each site's machine name prefixed respectively).   hesitate create gpo , link each individual site , more holistic approach unless there definitive detriment creating long gpp such.. domain.local   + workstations       - site1       - site2       - site3 ditto. have setup 300+ group policy preference mapping in 1 policy. act of resolving policy quick compared time takes map drive. reason want split policy ease administration of gpo many settings in it... not performance issue , agpm lot in situation. hope helps   alan burchill

Powershell, renaming files with regular expression or other methods

hi there, i need run script across 2.5k files, rename them slightly. e.g. 93250917[s077790-3d].jpg  should be 93250917.jpg  so need remove brakcets , in between. first few numbers variable length not set amount of digits in between brackets. totally useless when comes regex hoping can me out. much appreciated. ok found regex need using  http://gskinner.com/regexr/  wonderful site. so powershell need replace regex  \[.*\] nothing.  any appreciated. Windows Server  >  Windows PowerShell

Lag site

hi all, looking setup lag site. , wanted know if group membership restored when performing authoritative restore of deleted user on lag dc ? dc windows 2008 sp2 , ffl 2003. you can restore group membership, takes 2 passes.  first recover user , go , recover groups, due links.  see method 3 in link.   -- paul bergson mvp - directory services mcitp: enterprise administrator mcts, mct, mcse, mcsa, security+, bs csci 2008, vista, 2003, 2000 (early achiever), nt4 http://www.pbbergs.com     twitter @pbbergs please no e-mails, questions should posted in newsgroup this posting provided "as is" no warranties, , confers no rights. Windows Server  >  Directory Services