Posts

Showing posts from April, 2011

How to get folder name using get-childitem

i want display folder name , using following code $homefolders = get-childitem -literalpath $folder123 -force -erroraction silentlycontinue| select fullname, name, psiscontainer, length, extension foreach($folder in $homefolders){  write-host $folder.fullname  write-host "$folder.name } it display actual folder name, displaying as \\server\user1\home\test1 @{fullname=\\server\user1\home\test1; name=test1; psiscontainer=true; length=; extension=}.name folder i want folder name should display test1. pls let me know missing here albert $(folder.fullname | split-path -leaf) Windows Server  >  Windows PowerShell

No option for window server 2008 R2 when installing CALs using InstallAgreementLicenseKeyPack

hi, msdn of installagreementlicensekeypack  shows there 3 types of productversion: 0 window server 2000, 1 windows server 2003, 2 windows server 2008. there no option windows server 2008 r2. however, when manually install cals through ui, there 4 options (2000, 2003, 2008, 2008r2). further more, installing 2008 cal , 2008r2 cal show different versions cals in license manager. what implication install 2008 cal on 2008 r2 machine? make functionalities not available? how can use installagreementlicensekeypack install 2008r2 cals on 2008r2 machine? appreciate help. thanks leon hi leon, ts cal version windows server 2008 , windows server 2008 r2 same. when install cals on license server , show different version, build of windows server 2008 r2 using? currently, there no difference in productversion of ts cals windows server 2008 , windows server 2008 r2. please let me know if need on further. thanks silvia ...

GPO (as a whole) problem or Folder Redirection Problem?

Image
hello everyone, after couple hours of looking @ different tn articles on folder redirection can't work properly. had major system errors , had perform clean install of os. folder redirections old install seem in place , same size despite me backing content before reinstall on each terminal (4 of them) usb drive. i enabled folder redirection through dashboard , performed gpupdate /force see gpo in group policy editor none of machines seem accepting group policies @ , write have firefox set update latest .msi , isn't doing either bigger problem folder redirection? any tips or links articles may have not seen appreciated. thank in advance everyone. hi james, based on description, understand enable folder redirection (click implement group policy on dashboard) on windows server 2012 essentials (or windows server 2012 r2 essentials?). on current situation, please refer following , check. 1. please let me know edition information of client computer? 2. ...

Creating Emergency Repair Disks for Windows Server 2008 R2

about 4 years ago, purchased server pre-installed win server 2008 r2.  the system did not include installation media.  now, 1 tb hd running out of space.  my plan purchase 3 tb hd, make bare-metal backup of original hd using windows server backup, replace original hd new one, restore backup new hd.  i thought able create emergency repair disk boot , perform restore.  not so, apparently.  after spending time searching, seems solution work have installation media os, not have.  can tell me if possible create erd within os, possible previous versions?  can create disk trial version of win server 2008 r2 , use that?  what best way accomplish have described above? thanks, michael mall server pre-installed os, license oem or olp? if oem, guess need new license if want replace original hard disk. but necessary replace hd, not possible use external drive? some servers supports adding scsi drives or additional drives on top of or...

HOT FIX will not extract/unzip

server 2003 r2 standard esystem event log plastered event 257..... recommended hot fix   fix191074/3790/free/299208_enu_i386_zip.exe   this zip file not unzip errors out  error 110   resultant exe = 0kb and  not run   i love clear event out ....it  manifest every 2 seconds .................. please contact microsoft customer service again.   tim quan technet subscriber support in forum if have feedback on our support, please contact tngfb@microsoft.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread.     Windows Server  >  ...

WSUS 3.2 replica server synchronization failed with error 'OutOfMemoryException'

hi, problem have is, downstream servers cannot synchronize upstream server. every time gets synchronization 0%  error 'outofmemoryexception'… nevertheless same problem exists version 3.2.7600.226 too. automatic approvals activated several computer groups, during process occurred no error. assume failure occured approved many updates 60 computer groups. have 1 upstream w2k8 server , 22 downstream w2k3 server replica. servers locating in different geographical locations , have problem. master upstream server has no synchronization problem ms update server. these steps have done without effect. wsusutil reset dbcc checkdb reindexed db reduced declined updates restarted iis, bit, sql server, wsus service upstream or master server 2008 sp2 x64: ram 8gb wsus version: 3.2.7600.251 updates: 5459 approved: 5459 unapproved: 0 declined: 0 computer groups: 60 internal database downstream server 2003 r2 sp2 x86: ...

Heartbeat Network for windows server 2012 R2

hi, can suggest, windows 2012 r2 windows cluster sql, mandatory  to keep/configure dedicated network heartbeat? heard that, not compulsory configure dedicated nic private heartbeat network want know if official microsoft document available support this. regards, hi suhag, >>  is mandatory  to keep/configure dedicated network heartbeat? as far know, no. >>  it not compulsory configure dedicated nic private heartbeat network want know if official microsoft document available support this it recommended configure dedicated network cluster communication. here reference you: https://technet.microsoft.com/en-us/library/dn550728(v=ws.11).aspx best regards, leo please remember mark replies answers if , unmark them if provide no help. if have feedback technet support, contact tnmff@microsoft.com. Windows Server ...

PXE-E53 "No boot filename received"

hello, we have been booting pxe quite time now. wds server (windows server 2003 sp 2) running slow , had restart server. server runs deployment workbench , not run dhcp. after restarting server, pxe boot not working anymore , giving pxe-e53 error. person installed has left our company, unsure start. know wds setup dhcp , not ip helper addresses on routers. nothing has been changed on our dhcp server , on our network. not sure if makes difference or not troubleshooting but, can boot windows deployment services .iso boot images litetouch , there connect our wds server. assistance appreciated , if need more information, let me know. thanks, rob go dhcp server check if "066 boot server host name" points wds server. thanks -------------------------------------------------------------------------------- please remember click “mark answer” on post if post helps you. Windows Server ...

Help with counting the total number of servers objects from mutliple AD OU's

hello i'm using following in script search servers. i'd total number of server objects finds. below number each ou....so how total? thanks add-pssnapin quest.activeroles.admanagement $sites = [ordered]@{ "site1" = "onelevel" "site2" = "onelevel" "domain controllers" = "subtree" } $sites.getenumerator() | foreach { $root = $_.key $scope = $_.value $ous = get-qadobject -type "organizationalunit" -searchroot "ou=$root,dc=my,dc=domain,dc=com" -searchscope $scope foreach ($ou in $ous) { $servers = get-qadcomputer -dontusedefaultincludedproperties -sizelimit 0 -searchroot $ou.dn -searchscope subtree | ?{$_.osname -like "*server*"} | measure-object -sum ($servers).count } }   $totalcount = 0 $sites.getenumerator() | foreach { $root = $_.key $scope = $_.value $ous = get-qadobject -type "organizationalunit" -searchroot "ou=$root,dc=my,dc=domain,dc...

Word 2010 - toggle design mode

hello, i need macro toggle design mode.  found bug placeholder text resolved once open design mode , exit it. i've tried 2 macros accomplish this, but neither work.  both just enter design mode, don't exit it.  advice greatly appreciated.   sub macro1 () application . screenupdating = false activedocument . toggleformsdesign activedocument . toggleformsdesign application . screenupdating = true end sub sub macro1 () dim temps string application . screenupdating = false activedocument.toggleformsdesign application.commandbars("exit design mode")     temps = .controls(1).caption end with application.screenupdating = true end sub any ideas on i'm doing wrong sorry confusing format in post.  2 macro attempts looked more differentiated when typing post / question Microsoft Offi...

Scheduled script for Exchange Online from on-premise server

hi, i went through several posts , forums try , search best way run scheduled script perform actions on exchange online. script needs run on-premise server. the helpful post following : http://blogs.technet.com/b/robcost/archive/2008/05/01/powershell-tip-storing-and-using-password-credentials.aspx , stated mike crowley (mvp) - process reversible , password can obtained gaining access ntfs permissions since file physically store on machine. i have tried use following script https://gallery.technet.microsoft.com/scriptcenter/powershell-credentials-d44c3cde not manage produce usable output. can please me out? thanks , regards, johnross credentials stored automatically in task scheduler when define task.  run task under account das access exchange system. for other needs current systems have credential store can used save , retrieve credentials.  here starter on credentials: http://www.windowsecurity.com/articles-tutorials/authentication_and_encryption/s...

Creating a DFS Namespace for two servers to share the same SAN storage

we're thinking of rebuilding our main file server connects our office majority of it's drive mappings out on our san. thought might setup new windows 2008 r2 sp1 server , configure lun connections of our san same shares. thought if setup namespaces our different shares , mappings. way seemed bring down old server while users still connected drives using dfs namespace instead of specific servername\share. will work? can 2 servers share same san storage included in dfs namespace? not need replication since both connecting same luns.   orange county district attorney hi, we cannot connact same lun to several systems. here article provided explanation: http://techsk.blogspot.com/2008/02/using-same-lun-in-multiple-servers.html meanwhile can have on "failover cluster" seems meet requirement. a document can found here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17157 technet subscriber support in forum |if have feedback ...

Randomly can't run commands in PowerShell

i'm trying run ssh powershell , says ssh isn't recognized cmdlet, function, script file etc. i knwo fact path ssh.exe in path can normal cmd prompt. can use other non powershell commands in powershell such, there other random commands don't work also. ssh.exe in c:\program files (x86)\openssh\bin , 100% in path variable. can print out $env:path , see there. why be? kyle it might double quotes around "c:\program files (x86)\openssh\bin" that confusing powershell.   i don't see double quote wrappers in $env:path value:   c:> $env:path c:\windows\system32\windowspowershell\v1.0\;c:\program files (x86)\imagemagick- 6.7.6-q16;.;c:\program files\common files\microsoft shared\windows live;c:\prog ram files (x86)\common files\microsoft shared\windows live;c:\windows\system32; c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\ ;c:\bin;c:\mksnt;c:\program files\intel\wifi\bin\;c:\program files\common file...

MS CHAP 2 and IPSEC (VPN)

hi, using ipsec (pre shared keys) , for authentication ms chap 2 (without eap). i want to be sure of the following: ms chap2 authentication handled in secured ipsec tunnel in case? hello , following details talk when ipsec triggered microsoft l2tp/ipsec vpn client , pre-shared keys a pre-shared key sequence of characters used authenticate ipsec portion of l2tp/ipsec connection. both vpn client , vpn server must configured use same case-sensitive string of characters in order successful ipsec authentication. microsoft l2tp/ipsec vpn client can configured use pre-shared key authentication keyboard character-based pre-shared key using microsoft ipsec vpn configuration utility. keep in mind pre-shared key not used encrypt data sent on l2tp/ipsec connection nor used in place of ppp user authentication process validates user's user name , password. user attempting connection must still send set of credentials can validated , authorized before l2tp/ipsec connecti...

Deploying Vista SP1 via WSUS 3.0 SP2

hello. here have experience deploying vista service pack 1 via wsus? reason question default client update version windows vista 6.0.6000.16386 , unknown reason wuident.cab instructed not update version , you’ll see in logs: client version: core: 6.0.6000.16386  aux: 6.0.6000.16386 setup skipping selfupdate check based on /skip directive in wuident so have chicken , egg problem. how update vista service pack 1 if agent not want self update? any ideas appreciated, since problem no 1 has answer on internet while googling 2 weeks.   i think may able answer own question. to vista service pack 1 deployed via wsus first need approve:  - kb938371 - kb937287 - , approve service pack itself, kb936330. this mentioned in service pack documentation. helps googling error code. Windows Server  >  ...

WDS doesn't start - Error=0x6ba

hi, i've add wds role on w2k8r2 server "prodmdt" mdt 2010 u1 installed, deploy through pxe lti installation image dc , dhcp installed on different w2k3 server on same vlan without local fw here configuration :   windows deployment services management utility [version 6.1.7600.16385] copyright (c) microsoft corporation. rights reserved. setup information server [-----------------------------------------------------------------------------] server state: os version: 6.1 wds operational mode: native installation state: remoteinstall location: d:\wds_deploiement remoteinstall share up-to-date: yes boot files installed: x86 - yes x64 - yes ia64 - no [-----------------------------------------------------------------------------] configuration information server [-----------------------------------------------------------------------------] server authorization: authorization state: authorized answer policy: answer clients: yes answ...

Adding More Columns to ADUC

hi all, lately have been creating spreadsheets keep track of things server rack location, machines vms, , time server backup kicks off. realized if can add these columns in ad , show in aduc make life easier. provide 1 stop place see info. question how customize ad , add columns aduc? thanks, tke402 adding more columns aduc: from adcu go view (in main) add/remove columns. if you're looking way query data & expect o use these queries again in future it's best use mmc & add aduc snap in can save queries. Windows Server  >  Management

Online ESX to Hyper-v Migration

i have scvmm , want migrate esx virtual machines hyper-v environment. but cannot migrate these machines online v2v technology right? because these servers critical , shouldn't stopped. how can migrate esx host online hyper-v environment?   v2v offline. p2v can used for on-line migration. (os, domain membership, etc. restrictions apply). don't assume becuase virtual machine must treat as a binary container, still machine , (the os in vm) thinks running on hardware.     brian ehlert (hopefully have found useful) Windows Server  >  Hyper-V

Hyper-v 2012 has large AVHD files and no snapshots

we have 2012 hyper-v server 550gb avhd file , 300gb vhd file (for virtual sbs 2011). there no snapshots on server. believe 2012 supposed auto merge snapshot files. 1 know how merge 2012 if there no snapshots?  thanks very little space necessary.  however, safe estimation amount equal vhd plus avhd. and, sure avhd belongs vm? is there vm configuration has avhd in settings? did check hyper-v event logs merge errors?  apps , services, microsoft, windows, hyper-v brian ehlert http://itproctology.blogspot.com learn. apply. repeat. disclaimer: attempting change of own free will. Windows Server  >  Hyper-V

Storage Pool cannot allocate free space to a virtual disk

i have storage pool in windows server 2012 made of 3 x 3tb disks. total capacity 8.18tb. there thin provisioned virtual parity disk of 7tb 4.87tb allocated. server manager shows 900gb of free space available in pool.  each of 3 physical disks shows 2.44tb used , 300gb free. i trying create new fixed simple disk of remaining space. should able create virtual disk of 900gb. the maximum size of fixed simple disk can create 288gb (i tried server manager , powershell this). disk properties show equally divided across 3 physical disks (96gb x 3). after creating vhd,  free space each physical disk shows 204gb. free space pool shows 612gb. any assistance in understanding these numbers, , makng use of full space available, appreciated. sorry, i misunderstood original question. if have equal free space on (3) drives, should able create simple space 3 column , size equal sum of available free space in pool. can share output of following powershell commands? ge...

Remote desktop on OSX

when using remote desktop on osx have found following issue: - go redirection menu - add new redirection - folder selector show desktop if finder set default desktop when open new window - add name , click add. the link desktop folder invalid though finder displaying if desktop folder manually selected, link valid. hello thomas! thank highlighting issue us. can try our preview app , see if experiencing same? follow link: https://aka.ms/rdmac-preview eva Windows Server  >  Remote Desktop clients

Missing HDD Space on SBS 2011

hi all i running sbs 2011 2tb hdd, have got 600gb missing. have checked hidden folders, removed shadow files, did wsus cleanup wizard, used space sniffer, , space monger locate missing space, nothing comes up. can please assist urgently hdd has 140gb left, , afraid processes start shutting down, eg exchange. well, difference between hard drive's rated size , it's reported size in computer due 2 main things: 1) addition of recovey partition takes space (does not exist) 2) [most important] difference between decimal , binary systems of measurement. hard drive manufacturers , other storage devices use decimal system measure size. 1kb = 1000 bytes, 1mb = 1000 kbs, 1gb = 1000mbs, , 1tb=1000gbs. computers, however, binary machines, 1kb=1024kbs 1mb = 1024 kbs, 1gb = 1024mbs, , 1tb=1024gbs. blank 2tb hard drive, if math, can expect read 1862gbs, or approximately 1.8tbs. solve low disk space problem, can copy new larger hdd ...

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

hi, i getting following error when run powershell command on remote computer configure firewall , winrm through gpo , notice command respond windows 7 service pack 1 , windows 8.1 pro  error cannot convert value "\\eyepaxws-03\root\default:stdregprov" type "system.management.managementclass". error: "the rpc server unavailable. (exception hresult: 0x800706ba)" at d:\script\get-windowskey.ps1:10 char:9 +         $wmi = [wmiclass]"\\$target\root\default:stdregprov" +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : invalidargument: (:) [], runtimeexception     + fullyqualifiederrorid : invalidcasttowmiclass   get-wmiobject : rpc server unavailable. (exception hresult: 0x800706ba) at d:\script\get-windowskey.ps1:27 char:20 +         $win32os = get-w...

Replacing a 2003 SBS with a new 2008 server

i know question has been asked several times, wanted confirm understanding sounds correct. i have small business client running 2003 sbs on old server (p3 400mhz, 384 mb ram, 40 gb hdd) 20gb of data.  not run exchange or dhcp, small file server 8 user names in active directory. i purchased refurbished server 2008 server installed.  to replace old server new simple matter of using dcpromo command demote old server , promote new 1 dc?  worst case scenario enter 8 names in ad onto new 1 wanted keep domain name same. a few other questions:  able name new server same name preserve existing shares or asking trouble.  enough name server1 lets , update each workstation share. also need use adprep tool @ here? lastly, need join new server domain first , run dcpromo? sorry no0b questions , appreciate help! hi,   if migrate sbs 2003 windows server 2008, thread might helpful you:   migration sbs 2003 2008 standard http://social.technet....

Newbie Home Server Setup

hello! i looking deploy server 2012 r2 on home network , have couple questions... my (proposed) setup: "homeserver" : primary dc - ad & dns (dhcp handled router, static ips both servers) "mediaserver" : secondary dc - ad & ? various win8 clients. my questions surround mediaserver. server intend have connected vpn service 24/7 , wondering how affect ability act dc. also, have desktop applications running on , wondering best way set is? regular domain user logged in server? need able schedule programs , scripts (with admin priv. scripts perform firewall toggles). used accessing internet resources/services. acts nas, sharing ~8tb of data through smb shares. thanks in advance! hi rnguy, we not recommend either multihome or install other unnecessary service on domain controller. we’d better have dedicate device establish vpn tunnel between main , branch site on internet . can use multihomed rras server or router device support vpn conn...

RunspacePool and SessionStateProxy

hello, i'm trying speed tool use running powershell scripts using runspacepool functionality - problem have use    ps.runspace.sessionstateproxy.setvariable("logger", this.log);    inject custom logger.   if use runspacepool - runspace property on powershell object (always) null , don't seem able figure out way find / set correct sessionstateproxy.   can use sessionstateproxy if using runspacepool or 2 features mutually exclusive?   many thanks,   howard hello howard, thank question. i trying involve familiar topic further @ issue. thanks. tiger li please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread. Windows Server  >  ...

Win2008R2 : why some user profile suddenly there ?

dear all, running windows 2008 r2 server , found on "users" folder of system user folder came up. 1 folder inside "appdata", no other usual folders inside normal profile contacts, desktop, downloads .... etc. those users' login credentials not used login server, folders came up. wondering if hints can found here. thank you. yours sincerely, kenny > running windows 2008 r2 server , found on "users" > folder of system user folder came up. 1 folder > inside "appdata", no other usual folders inside normal > profile contacts, desktop, downloads .... etc.   might scheduled task, service or "runas". , remember (long time ago) phenomenom in different thread, don't recall whether in or german forums... not speak of recalling the reason behind :(   martin mal ein gutes buch über gpos lesen? no not evil, if know doing: or bad gpos? , if bothers me - coke bottle design refres...

Group policys didn't migrate to the destination server in SBS 2011

i'm @ end of migration sbs 2003 sbs 2011.... having gpo problems: while sitting on destination server inside of gpm if connect source server i'm able edit , view policys. after connecting destination server...inside gpm if try edit gpo "failed open group policy object: may not have appropriate rights." the details list "the network name cannot found" i have tried backup gpo's source server , restore destination server jammed on restore.... this must have gotten hosed down during migration , feel it's root remaining problems left in transfer....all issues point gpo's.... i'm down 15 days left , half head of hair! btw: fsmo roles didn't transfer way during migration , able seize roles source server through ntdsutil...   short of long..... the dns setting on our destination server pointing @ source server...catch eye...changed , made sure source server pointing destination server! after small java break noticed replicat...

Managing 2 Hyper-V environments with 1 server

hi all, i've got lot of knowledge vmware, proposing 2 seperate hyper-v environments our sister company (1 production vms, other sap test environment). in production environment, i've got management server in place. i'd know whether or not hyper-v can similar vmware's vcenter linked mode. there 2 sans (not sure if linked via isl's @ moment), can 1 management server manage hyper-v cluster on second san? thanks! hi, its possible, question how want it: 1. virtual machine manager: can manage hosts , clusters in different domains , got lot of functionality. 2. hyper-v manager: can manage "single" hosts (means you'll not see them cluster), if in same domain. maybe there 3rd party tools, i'm not sure. best regards, jens Windows Server  >  Hype...

Users Get disconnected...IE: you are no longer connected to the server pop-up??

hello., hope can shed light on this... here infrastructure , issue....    server 2003 r2  single domain. 1 file-server, 1 exchange email server. 17 client users running windows xp pro.  folder re-direction of docs , desktop   i have 2 users experiencing issue , when create new user issue occurs well. whilst user logged in, try access shared file on mapped drive or home directory, pop appears saying " no longer connected server" , have re-sync, keeps occurring over , over. the thing has changed users home directory backed , moved d: drive instead of c: drive  i made sure folder re-direction pointing correct share. don't believe causing issue, but i cant seem find problem. there nothing related in event log. please help??? tony hi tony,   thanks posting here.   according description suspect issue may cause because failed connect shared folder, system prompt offline notification. ...